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

pulibrary / tigerdata-app / 35458c1b-637b-4eb7-b47f-04ad941a0eb7

01 Dec 2025 08:46PM UTC coverage: 91.343% (+3.7%) from 87.656%
35458c1b-637b-4eb7-b47f-04ad941a0eb7

Pull #2257

circleci

kelynch
Copy/paste functionality established
Pull Request #2257: Copy/paste functionality established

2912 of 3188 relevant lines covered (91.34%)

564.53 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
3✔
3
  # This is the version of Mediaflux that we are testing against
4
  EXPECTED_VERSION = "4.17.068"
3✔
5
  class VersionRequest < Request
3✔
6
    # Constructor
7
    # @param session_token [String] the API token for the authenticated session
8
    def initialize(session_token:)
3✔
9
      super(session_token: session_token)
89✔
10
    end
11

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

18
    def version
3✔
19
      xml = response_xml
69✔
20
      {
21
        vendor: xml.xpath("/response/reply/result/vendor").text,
69✔
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