Class: Raas::Configuration
- Inherits:
-
Object
- Object
- Raas::Configuration
- Defined in:
- lib/raas/configuration.rb
Defined Under Namespace
Classes: Environment, Server
Class Attribute Summary collapse
-
.array_serialization ⇒ Object
Returns the value of attribute array_serialization.
-
.environment ⇒ Object
Returns the value of attribute environment.
-
.environments ⇒ Object
Returns the value of attribute environments.
-
.platform_key ⇒ Object
Returns the value of attribute platform_key.
-
.platform_name ⇒ Object
Returns the value of attribute platform_name.
Class Method Summary collapse
-
.get_base_uri(server = Server::DEFAULT) ⇒ String
Generates the appropriate base URI for the environment and the server.
Class Attribute Details
.array_serialization ⇒ Object
Returns the value of attribute array_serialization.
65 66 67 |
# File 'lib/raas/configuration.rb', line 65 def array_serialization @array_serialization end |
.environment ⇒ Object
Returns the value of attribute environment.
66 67 68 |
# File 'lib/raas/configuration.rb', line 66 def environment @environment end |
.environments ⇒ Object
Returns the value of attribute environments.
67 68 69 |
# File 'lib/raas/configuration.rb', line 67 def environments @environments end |
.platform_key ⇒ Object
Returns the value of attribute platform_key.
69 70 71 |
# File 'lib/raas/configuration.rb', line 69 def platform_key @platform_key end |
.platform_name ⇒ Object
Returns the value of attribute platform_name.
68 69 70 |
# File 'lib/raas/configuration.rb', line 68 def platform_name @platform_name end |
Class Method Details
.get_base_uri(server = Server::DEFAULT) ⇒ String
Generates the appropriate base URI for the environment and the server.
59 60 61 |
# File 'lib/raas/configuration.rb', line 59 def self.get_base_uri(server = Server::DEFAULT) environments[environment][server] end |