Class: Coindcx::Rest::Client

Inherits:
Base show all
Defined in:
lib/coindcx/rest/client.rb

Constant Summary

Constants inherited from Config

Coindcx::Rest::Config::BASE_URL, Coindcx::Rest::Config::ENDPOINTS

Instance Method Summary collapse

Methods inherited from Base

#endpoint, #http_request, #request_params

Constructor Details

#initialize(key = nil, secret = nil) ⇒ Client

Returns a new instance of Client.



13
14
15
# File 'lib/coindcx/rest/client.rb', line 13

def initialize key=nil, secret=nil
  @key, @secret = key, secret
end