Class: Cryptorank::Currency

Inherits:
Base
  • Object
show all
Defined in:
lib/cryptorank/resources/currency.rb

Class Method Summary collapse

Methods inherited from Base

split_words

Class Method Details

.info(symbol) ⇒ Object

GET /currencies?symbol= Description: Acquire data of a crypto Parameter: /



18
19
20
# File 'lib/cryptorank/resources/currency.rb', line 18

def info(symbol)
  detail(symbol: symbol)
end

.listObject

GET /currencies Description: Acquire data of all crypto Parameter: /



10
11
12
# File 'lib/cryptorank/resources/currency.rb', line 10

def list
  detail
end