Class: AnyApi::Configuration
- Inherits:
-
Object
- Object
- AnyApi::Configuration
- Defined in:
- lib/any_api/configuration.rb
Instance Attribute Summary collapse
-
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#password ⇒ Object
Returns the value of attribute password.
-
#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.
5 6 7 8 9 10 |
# File 'lib/any_api/configuration.rb', line 5 def initialize self.api_base_url = nil self.username = nil self.password = nil self.log_level = 'info' end |
Instance Attribute Details
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
3 4 5 |
# File 'lib/any_api/configuration.rb', line 3 def api_base_url @api_base_url end |
#log_level ⇒ Object
Returns the value of attribute log_level.
3 4 5 |
# File 'lib/any_api/configuration.rb', line 3 def log_level @log_level end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/any_api/configuration.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/any_api/configuration.rb', line 3 def username @username end |