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

pulibrary / tigerdata-app / 6215218e-667d-4952-90ca-92424a2c9c4b

21 Oct 2025 09:20PM UTC coverage: 86.877%. Remained the same
6215218e-667d-4952-90ca-92424a2c9c4b

push

circleci

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

Ref #2065

2615 of 3010 relevant lines covered (86.88%)

340.17 hits per line

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

95.0
/app/models/mediaflux/connection.rb
1
# frozen_string_literal: true
2
module Mediaflux
4✔
3
  class Connection
4✔
4
    # The host nome for the Mediaflux server
5
    # @return [String]
6
    def self.host
4✔
7
      Rails.configuration.mediaflux["api_host"]
3,075✔
8
    end
9

10
    # The host port for the Mediaflux server
11
    # @return [Integer]
12
    def self.port
4✔
13
      Rails.configuration.mediaflux["api_port"].to_i
3,074✔
14
    end
15

16
    # The host transport for the Mediaflux server
17
    # @return [String]
18
    def self.transport
4✔
19
      Rails.configuration.mediaflux["api_transport"]
3,070✔
20
    end
21

22
    def self.root
4✔
23
      Rails.configuration.mediaflux["api_root"]
×
24
    end
25

26
    def self.root_collection
4✔
27
      Rails.configuration.mediaflux["api_root_collection"]
1✔
28
    end
29

30
    def self.root_collection_namespace
4✔
31
      Rails.configuration.mediaflux["api_root_collection_namespace"]
185✔
32
    end
33

34
    def self.root_collection_name
4✔
35
      Rails.configuration.mediaflux["api_root_collection_name"]
1✔
36
    end
37

38
    def self.root_namespace
4✔
39
      Rails.configuration.mediaflux["api_root_ns"]
1✔
40
    end
41

42
    def self.hidden_root
4✔
43
      Rails.configuration.mediaflux["api_hidden_root"]
14✔
44
    end
45
  end
46
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