Class: Kucoin::Api::Endpoints::User::Deposits

Inherits:
Kucoin::Api::Endpoints::User show all
Defined in:
lib/kucoin/api/endpoints/user/deposits.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

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

#create(currency) ⇒ Object



7
8
9
# File 'lib/kucoin/api/endpoints/user/deposits.rb', line 7

def create currency
  auth.ku_request :post, :create, currency: currency
end

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



11
12
13
# File 'lib/kucoin/api/endpoints/user/deposits.rb', line 11

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

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



17
18
19
# File 'lib/kucoin/api/endpoints/user/deposits.rb', line 17

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