class Bitstamp::UserTransactions

Public Instance Methods

all(options = {}) click to toggle source
# File lib/bitstamp/transactions.rb, line 3
def all(options = {})
  # Default time delta to an hour
  options[:timedelta] = "3600" unless options[:timedelta]

  Bitstamp::Helper.parse_objects! Bitstamp::Net::post("/user_transactions", options).body_str, self.model
end
create(options = {}) click to toggle source
# File lib/bitstamp/transactions.rb, line 17
def create(options = {})
end
find(order_id) click to toggle source
# File lib/bitstamp/transactions.rb, line 10
def find(order_id)
  all = self.all
  index = all.index {|order| order.id.to_i == order_id}

  return all[index] if index
end
update(options={}) click to toggle source
# File lib/bitstamp/transactions.rb, line 20
def update(options={})
end