Class: Kucoin::Api::Endpoints::Markets::Currencies

Inherits:
Kucoin::Api::Endpoints::Markets show all
Defined in:
lib/kucoin/api/endpoints/markets/currencies.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Kucoin::Api::Endpoints::Markets

#stats

Methods inherited from Base

#assert_param_is_one_of, #assert_required_param, #auth, #initialize, #open, #path, #url

Constructor Details

This class inherits a constructor from Kucoin::Api::Endpoints::Base

Instance Method Details

#fiat(options = {}) ⇒ Object



12
13
14
# File 'lib/kucoin/api/endpoints/markets/currencies.rb', line 12

def fiat options= {}
  open.ku_request :get, :fiat, options
end

#index(options = {}) ⇒ Object Also known as: all



7
8
9
# File 'lib/kucoin/api/endpoints/markets/currencies.rb', line 7

def index options={}
  open.ku_request :get, :index, options
end

#show(currency) ⇒ Object Also known as: detail



16
17
18
# File 'lib/kucoin/api/endpoints/markets/currencies.rb', line 16

def show currency
  open.ku_request :get, :show, currency: currency
end