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

pulibrary / tigerdata-app / aa430f04-9cef-40fc-8a51-de9c9bd91fd2

07 Nov 2025 04:17PM UTC coverage: 91.04% (+3.8%) from 87.228%
aa430f04-9cef-40fc-8a51-de9c9bd91fd2

Pull #2168

circleci

carolyncole
Refactoring to allow easier integration of the new LUX widget
The lux widget takes the name of the routine to call when the input changes.  Making the url integrated with the page will allow us to more easily call the lookup routine

refs #2083
Pull Request #2168: Refactoring to allow easier integration of the new LUX widget

2835 of 3114 relevant lines covered (91.04%)

537.87 hits per line

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

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

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

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

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

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

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

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

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

42
    def self.hidden_root
5✔
43
      Rails.configuration.mediaflux["api_hidden_root"]
×
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