Class: Binance::Authentication

Inherits:
Object
  • Object
show all
Defined in:
lib/binance/authentication.rb

Overview

Authentication response to API key and signature

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject

Returns the value of attribute key.



6
7
8
# File 'lib/binance/authentication.rb', line 6

def key
  @key
end

#secretObject

Returns the value of attribute secret.



6
7
8
# File 'lib/binance/authentication.rb', line 6

def secret
  @secret
end