Class: Scalarium::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/scalarium-api-wrapper/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_tokenObject

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_urlObject

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_urlObject

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