Class: BittrexEnterprise::Currencies
- Inherits:
-
Object
- Object
- BittrexEnterprise::Currencies
- Includes:
- ApiHelpers
- Defined in:
- lib/bittrex-enterprise/currencies.rb
Class Method Summary collapse
-
.info(symbol) ⇒ Object
———————————— INFO ————————————————– Retrieve info on a specified currency.
-
.list ⇒ Object
————————————- LIST ————————————————- List currencies ——————————————————————————————–.
Methods included from ApiHelpers
Class Method Details
.info(symbol) ⇒ Object
———————————— INFO ————————————————– Retrieve info on a specified currency.
—— PARAMS —— symbol: string - required - symbol of the currency to retrieve
23 24 25 |
# File 'lib/bittrex-enterprise/currencies.rb', line 23 def self.info(symbol) get 'currencies/{symbol}', symbol: symbol end |
.list ⇒ Object
————————————- LIST ————————————————- List currencies
12 13 14 |
# File 'lib/bittrex-enterprise/currencies.rb', line 12 def self.list get 'currencies' end |