Class: AqumulateAPI::Configuration
- Inherits:
-
Object
- Object
- AqumulateAPI::Configuration
- Defined in:
- lib/aqumulate_api/configuration.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#grant_type ⇒ Object
Returns the value of attribute grant_type.
-
#password ⇒ Object
Returns the value of attribute password.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#debug ⇒ Object
Returns the value of attribute debug.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def debug @debug end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def grant_type @grant_type end |
#password ⇒ Object
Returns the value of attribute password.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def password @password end |
#timeout ⇒ Object
Returns the value of attribute timeout.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
16 17 18 |
# File 'lib/aqumulate_api/configuration.rb', line 16 def username @username end |