Class: Kucoin::Api::Endpoints::Websocket

Inherits:
Base
  • Object
show all
Defined in:
lib/kucoin/api/endpoints/websocket.rb

Defined Under Namespace

Classes: Response

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

#privateObject



10
11
12
# File 'lib/kucoin/api/endpoints/websocket.rb', line 10

def private
  Response.new(auth.ku_request :post, :private)
end

#publicObject



6
7
8
# File 'lib/kucoin/api/endpoints/websocket.rb', line 6

def public
  Response.new(open.ku_request :post, :public)
end