Class: Tito::Configuration
- Inherits:
-
Object
- Object
- Tito::Configuration
- Defined in:
- lib/tito/configuration.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/tito/configuration.rb', line 5 def initialize @base_url = "https://api.tito.io/v3" end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
3 4 5 |
# File 'lib/tito/configuration.rb', line 3 def account @account end |
#base_url ⇒ Object
Returns the value of attribute base_url.
3 4 5 |
# File 'lib/tito/configuration.rb', line 3 def base_url @base_url end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/tito/configuration.rb', line 3 def logger @logger end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/tito/configuration.rb', line 3 def token @token end |