Class: Scalarium::Configuration
- Inherits:
-
Object
- Object
- Scalarium::Configuration
- Defined in:
- lib/scalarium-api-wrapper/configuration.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#applications_url ⇒ Object
Returns the value of attribute applications_url.
-
#clouds_url ⇒ Object
Returns the value of attribute clouds_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 |
# File 'lib/scalarium-api-wrapper/configuration.rb', line 4 def initialize @clouds_url = "https://manage.scalarium.com/api/clouds" @applications_url = "https://manage.scalarium.com/api/applications" end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
2 3 4 |
# File 'lib/scalarium-api-wrapper/configuration.rb', line 2 def api_token @api_token end |
#applications_url ⇒ Object
Returns the value of attribute applications_url.
2 3 4 |
# File 'lib/scalarium-api-wrapper/configuration.rb', line 2 def applications_url @applications_url end |
#clouds_url ⇒ Object
Returns the value of attribute clouds_url.
2 3 4 |
# File 'lib/scalarium-api-wrapper/configuration.rb', line 2 def clouds_url @clouds_url end |