Class: Yobit::ApiConfig
- Inherits:
-
Object
- Object
- Yobit::ApiConfig
- Defined in:
- lib/yobit.rb
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 ⇒ ApiConfig
constructor
A new instance of ApiConfig.
Constructor Details
#initialize ⇒ ApiConfig
Returns a new instance of ApiConfig.
13 14 15 16 |
# File 'lib/yobit.rb', line 13 def initialize @key = '' @secret = '' end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
11 12 13 |
# File 'lib/yobit.rb', line 11 def key @key end |
#secret ⇒ Object
Returns the value of attribute secret.
11 12 13 |
# File 'lib/yobit.rb', line 11 def secret @secret end |