Class: BinanceWrapper21
- Inherits:
-
Object
- Object
- BinanceWrapper21
- Defined in:
- lib/binancewrapper21.rb
Direct Known Subclasses
Instance Method Summary collapse
- #account_info ⇒ Object
-
#initialize(api_key, secret) ⇒ BinanceWrapper21
constructor
A new instance of BinanceWrapper21.
Constructor Details
#initialize(api_key, secret) ⇒ BinanceWrapper21
Returns a new instance of BinanceWrapper21.
13 14 15 |
# File 'lib/binancewrapper21.rb', line 13 def initialize(api_key, secret) @client = Binance::Client::REST.new api_key: api_key, secret_key: secret end |
Instance Method Details
#account_info ⇒ Object
17 18 19 |
# File 'lib/binancewrapper21.rb', line 17 def account_info() @client.account_info() end |