class Cryptsy::API2::Converter

Public Class Methods

new(public_key=nil, private_key=nil) click to toggle source
# File lib/cryptsy/api2/converter.rb, line 4
def initialize(public_key=nil, private_key=nil)
  @public_key = public_key
  @private_key = private_key
end

Public Instance Methods

create(options) click to toggle source
# File lib/cryptsy/api2/converter.rb, line 9
def create(options)
  Request.send("converter", options, @public_key, @private_key, "POST")
end
depositaddress(quote_id) click to toggle source
# File lib/cryptsy/api2/converter.rb, line 17
def depositaddress(quote_id)
  Request.send("converter/#{quote_id}/depositaddress", {}, @public_key, @private_key)
end
info(quote_id) click to toggle source
# File lib/cryptsy/api2/converter.rb, line 13
def info(quote_id)
  Request.send("converter/#{quote_id}", {}, @public_key, @private_key)
end