Class: Mediaflux::Connection
- Inherits:
-
Object
- Object
- Mediaflux::Connection
- Defined in:
- app/models/mediaflux/connection.rb
Class Method Summary collapse
- .hidden_root ⇒ Object
-
.host ⇒ String
The host nome for the Mediaflux server.
-
.port ⇒ Integer
The host port for the Mediaflux server.
- .root ⇒ Object
- .root_collection ⇒ Object
- .root_collection_name ⇒ Object
- .root_collection_namespace ⇒ Object
- .root_namespace ⇒ Object
-
.transport ⇒ String
The host transport for the Mediaflux server.
Class Method Details
.hidden_root ⇒ Object
42 43 44 |
# File 'app/models/mediaflux/connection.rb', line 42 def self.hidden_root Rails.configuration.mediaflux["api_hidden_root"] end |
.host ⇒ String
The host nome for the Mediaflux server
6 7 8 |
# File 'app/models/mediaflux/connection.rb', line 6 def self.host Rails.configuration.mediaflux["api_host"] end |
.port ⇒ Integer
The host port for the Mediaflux server
12 13 14 |
# File 'app/models/mediaflux/connection.rb', line 12 def self.port Rails.configuration.mediaflux["api_port"].to_i end |
.root ⇒ Object
22 23 24 |
# File 'app/models/mediaflux/connection.rb', line 22 def self.root Rails.configuration.mediaflux["api_root"] end |
.root_collection ⇒ Object
26 27 28 |
# File 'app/models/mediaflux/connection.rb', line 26 def self.root_collection Rails.configuration.mediaflux["api_root_collection"] end |
.root_collection_name ⇒ Object
34 35 36 |
# File 'app/models/mediaflux/connection.rb', line 34 def self.root_collection_name Rails.configuration.mediaflux["api_root_collection_name"] end |
.root_collection_namespace ⇒ Object
30 31 32 |
# File 'app/models/mediaflux/connection.rb', line 30 def self.root_collection_namespace Rails.configuration.mediaflux["api_root_collection_namespace"] end |
.root_namespace ⇒ Object
38 39 40 |
# File 'app/models/mediaflux/connection.rb', line 38 def self.root_namespace Rails.configuration.mediaflux["api_root_ns"] end |
.transport ⇒ String
The host transport for the Mediaflux server
18 19 20 |
# File 'app/models/mediaflux/connection.rb', line 18 def self.transport Rails.configuration.mediaflux["api_transport"] end |