Class: BittrexRuby::Configuration
- Inherits:
-
Object
- Object
- BittrexRuby::Configuration
- Defined in:
- lib/bittrex_ruby.rb
Overview
Handles the Bittrex API keys
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 |
# File 'lib/bittrex_ruby.rb', line 23 def initialize @key = '' @secret = '' end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
21 22 23 |
# File 'lib/bittrex_ruby.rb', line 21 def key @key end |
#secret ⇒ Object
Returns the value of attribute secret.
21 22 23 |
# File 'lib/bittrex_ruby.rb', line 21 def secret @secret end |