Class: Enstratus::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/enstratus/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
10
11
# File 'lib/enstratus/configuration.rb', line 5

def initialize
  @access_key ||= '12345678'
  @secret_key ||= 'abcdefghi'
  @endpoint ||= 'https://api.enstratus.com'
  @version ||= '2012-02-29'
  @debug ||= false
end

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



3
4
5
# File 'lib/enstratus/configuration.rb', line 3

def access_key
  @access_key
end

#debugObject

Returns the value of attribute debug.



3
4
5
# File 'lib/enstratus/configuration.rb', line 3

def debug
  @debug
end

#endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/enstratus/configuration.rb', line 3

def endpoint
  @endpoint
end

#secret_keyObject

Returns the value of attribute secret_key.



3
4
5
# File 'lib/enstratus/configuration.rb', line 3

def secret_key
  @secret_key
end

#versionObject

Returns the value of attribute version.



3
4
5
# File 'lib/enstratus/configuration.rb', line 3

def version
  @version
end