Class: Raas::Configuration
- Inherits:
-
Object
- Object
- Raas::Configuration
- Defined in:
- lib/raas/configuration.rb
Overview
All configuration including auth info and base URI for the API access are configured in this class.
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.
57 58 59 |
# File 'lib/raas/configuration.rb', line 57 def array_serialization @array_serialization end |
.environment ⇒ Object
Returns the value of attribute environment.
58 59 60 |
# File 'lib/raas/configuration.rb', line 58 def environment @environment end |
.environments ⇒ Object
Returns the value of attribute environments.
59 60 61 |
# File 'lib/raas/configuration.rb', line 59 def environments @environments end |
.platform_key ⇒ Object
Returns the value of attribute platform_key.
61 62 63 |
# File 'lib/raas/configuration.rb', line 61 def platform_key @platform_key end |
.platform_name ⇒ Object
Returns the value of attribute platform_name.
60 61 62 |
# File 'lib/raas/configuration.rb', line 60 def platform_name @platform_name end |