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

pulibrary / tigerdata-app / b3a87c03-f9b5-4aa9-ad0f-c7008111b7f0

23 Oct 2025 04:00PM UTC coverage: 88.782% (-2.4%) from 91.178%
b3a87c03-f9b5-4aa9-ad0f-c7008111b7f0

push

circleci

web-flow
Rewrite test not to link externally (#2088)

Co-authored-by: Bess Sadler <bess.sadler@princeton.edu>

2667 of 3004 relevant lines covered (88.78%)

296.47 hits per line

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

100.0
/app/models/mediaflux/version_request.rb
1
# frozen_string_literal: true
2
module Mediaflux
1✔
3
  # This is the version of Mediaflux that we are testing against
4
  EXPECTED_VERSION = "4.17.061"
1✔
5
  class VersionRequest < Request
1✔
6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
8
    def initialize(session_token:)
1✔
9
      super(session_token: session_token)
64✔
10
    end
11

12
    # Specifies the Mediaflux service to use when querying the version
13
    # @return [String]
14
    def self.service
1✔
15
      "server.version"
128✔
16
    end
17

18
    def version
1✔
19
      xml = response_xml
64✔
20
      {
21
        vendor: xml.xpath("/response/reply/result/vendor").text,
64✔
22
        version: xml.xpath("/response/reply/result/version").text
23
      }
24
    end
25
  end
26
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