Method: CryptopusAdapter#post

Defined in:
lib/adapters/cryptopus_adapter.rb

#post(path, body) ⇒ Object



22
23
24
25
26
27
# File 'lib/adapters/cryptopus_adapter.rb', line 22

def post(path, body)
  uri = URI("#{root_url}/#{path}")
  request = new_request(:post, uri)
  request.body = body
  send_request(request, uri)
end