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

pulibrary / tigerdata-app / 24c22aca-efd3-4269-9ecf-d12f989484ac

21 Oct 2025 09:49PM UTC coverage: 91.051% (+4.2%) from 86.877%
24c22aca-efd3-4269-9ecf-d12f989484ac

push

circleci

web-flow
Stop mediaflux when we stop everything else (#2066)

Ref #2065

2737 of 3006 relevant lines covered (91.05%)

380.89 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.061"
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)
81✔
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"
162✔
16
    end
17

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