Class: AqumulateAPI::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



18
19
20
21
22
23
# File 'lib/aqumulate_api/configuration.rb', line 18

def initialize
  @grant_type = 'password'
  @url = 'https://advagg.aqumulate.com'
  @debug = false
  @timeout = 300
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def debug
  @debug
end

#grant_typeObject

Returns the value of attribute grant_type.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def grant_type
  @grant_type
end

#passwordObject

Returns the value of attribute password.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def password
  @password
end

#timeoutObject

Returns the value of attribute timeout.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def timeout
  @timeout
end

#urlObject

Returns the value of attribute url.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def url
  @url
end

#usernameObject

Returns the value of attribute username.



16
17
18
# File 'lib/aqumulate_api/configuration.rb', line 16

def username
  @username
end