class Cryptsy::API2::Currencies

Public Class Methods

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

Public Instance Methods

info(currency_id) click to toggle source
# File lib/cryptsy/api2/currencies.rb, line 13
def info(currency_id)
  Request.send("currencies/#{currency_id}")
end
list() click to toggle source
# File lib/cryptsy/api2/currencies.rb, line 9
def list
  Request.send("currencies")
end
marketlist(currency_id) click to toggle source
# File lib/cryptsy/api2/currencies.rb, line 17
def marketlist(currency_id)
  Request.send("currencies/#{currency_id}/markets")
end