• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / 2e85105d-f9c8-41e9-8b05-fe438b698516

26 Nov 2025 12:16PM UTC coverage: 71.597% (-8.0%) from 79.623%
2e85105d-f9c8-41e9-8b05-fe438b698516

push

circleci

web-flow
Display the data sponsor and data manager in the dashboard listing (#2247)

Closes #2236 

<img width="1036" height="675" alt="Screenshot 2025-11-25 at 3 07 41 PM"
src="https://github.com/user-attachments/assets/3b6a2189-7f71-4b17-97e5-e66c8fed3cb3"
/>

1 of 3 new or added lines in 1 file covered. (33.33%)

346 existing lines in 26 files now uncovered.

2367 of 3306 relevant lines covered (71.6%)

147.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/models/mediaflux/asset_exist_request.rb
1
# frozen_string_literal: true
UNCOV
2
module Mediaflux
×
UNCOV
3
  class AssetExistRequest < Request
×
4
    # Constructor
5
    # @param session_token [String] the API token for the authenticated session
UNCOV
6
    def initialize(session_token:, path:)
×
UNCOV
7
      super(session_token: session_token)
×
UNCOV
8
      @path = path
×
UNCOV
9
    end
×
10

11
    # Specifies the Mediaflux service to use
12
    # @return [String]
UNCOV
13
    def self.service
×
UNCOV
14
      "asset.exists"
×
UNCOV
15
    end
×
16

17
    # Be aware that asset.exists does not return the ID of the asset validated
18
    # so we cannot return it back to the user (Mediaflux returns the path that
19
    # we validated but not the actual asset ID. Hence we return true/false for
20
    # this kind of request.
UNCOV
21
    def exist?
×
UNCOV
22
      response_xml.xpath("/response/reply/result/exists").text == "true"
×
UNCOV
23
    end
×
24

UNCOV
25
    private
×
26

UNCOV
27
      def build_http_request_body(name:)
×
UNCOV
28
        super do |xml|
×
UNCOV
29
          xml.args do
×
UNCOV
30
            xml.id "path=#{@path}"
×
UNCOV
31
          end
×
UNCOV
32
        end
×
UNCOV
33
      end
×
UNCOV
34
  end
×
UNCOV
35
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc