Class: Cryptorank::History
- Defined in:
- lib/cryptorank/resources/history.rb
Class Method Summary collapse
-
.month(name) ⇒ Object
GET /coins/#coin/monthly-history Description: Acquire month data of crypto Parameter: /.
-
.quarter(name) ⇒ Object
GET /coins/#coin/quarterly-history Description: Acquire quarterly data of crypto Parameter: /.
-
.year(name) ⇒ Object
GET /coins/#coin/yearly-history Description: Acquire year data of crypto Parameter: /.
Methods inherited from Base
Class Method Details
.month(name) ⇒ Object
GET /coins/#coin/monthly-history Description: Acquire month data of crypto Parameter: /
18 19 20 |
# File 'lib/cryptorank/resources/history.rb', line 18 def month(name) detail(split_words(name)) end |
.quarter(name) ⇒ Object
GET /coins/#coin/quarterly-history Description: Acquire quarterly data of crypto Parameter: /
26 27 28 |
# File 'lib/cryptorank/resources/history.rb', line 26 def quarter(name) detail(split_words(name)) end |
.year(name) ⇒ Object
GET /coins/#coin/yearly-history Description: Acquire year data of crypto Parameter: /
10 11 12 |
# File 'lib/cryptorank/resources/history.rb', line 10 def year(name) detail(split_words(name)) end |