Class: Bitmarkable::Config
- Inherits:
-
Object
- Object
- Bitmarkable::Config
- Defined in:
- lib/bitmarkable/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#login ⇒ Object
Returns the value of attribute login.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/bitmarkable/config.rb', line 5 def initialize self.login, self.api_key, self.base_url = nil end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/bitmarkable/config.rb', line 3 def api_key @api_key end |
#base_url ⇒ Object
Returns the value of attribute base_url.
3 4 5 |
# File 'lib/bitmarkable/config.rb', line 3 def base_url @base_url end |
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'lib/bitmarkable/config.rb', line 3 def login @login end |