Class: Binance::Authentication
- Inherits:
-
Object
- Object
- Binance::Authentication
- Defined in:
- lib/binance/authentication.rb
Overview
Authentication response to API key and signature
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(key, secret) ⇒ Authentication
constructor
A new instance of Authentication.
Constructor Details
#initialize(key, secret) ⇒ Authentication
Returns a new instance of Authentication.
8 9 10 11 |
# File 'lib/binance/authentication.rb', line 8 def initialize(key, secret) @key = key @secret = secret end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
6 7 8 |
# File 'lib/binance/authentication.rb', line 6 def key @key end |
#secret ⇒ Object
Returns the value of attribute secret.
6 7 8 |
# File 'lib/binance/authentication.rb', line 6 def secret @secret end |