Module: Fcoin::Endpoint::Public
- Included in:
- Fcoin::Endpoint
- Defined in:
- lib/fcoin/endpoint/public.rb
Instance Method Summary collapse
-
#public_currencies ⇒ Hash or JSON
Display available currency.
-
#public_server_time ⇒ Hash or JSON
Get server time.
-
#public_symbols ⇒ Hash or JSON
Query available transaction pairs.
Instance Method Details
#public_currencies ⇒ Hash or JSON
Display available currency
curl: GET api.fcoin.com/v2/public/currencies
31 32 33 |
# File 'lib/fcoin/endpoint/public.rb', line 31 def public_currencies get('public/currencies', false) end |
#public_server_time ⇒ Hash or JSON
Get server time
curl: GET api.fcoin.com/v2/public/server-time
16 17 18 |
# File 'lib/fcoin/endpoint/public.rb', line 16 def public_server_time get('public/server-time', false) end |
#public_symbols ⇒ Hash or JSON
Query available transaction pairs
curl: GET api.fcoin.com/v2/public/symbols
46 47 48 |
# File 'lib/fcoin/endpoint/public.rb', line 46 def public_symbols get('public/symbols', false) end |