lib/coinsetter.rb in coinsetter-0.0.5 vs lib/coinsetter.rb in coinsetter-0.0.6

- old
+ new

@@ -59,14 +59,14 @@ client_session.destroy! @client_session = nil end def self.orders(uuid=nil) - Orders.new(uuid) + Orders.new(uuid || client_session.uuid) end def self.accounts(uuid=nil) - Customer::Accounts.new(uuid) + Customer::Accounts.new(uuid || client_session.uuid) end def self.list_orders(account_id, view="OPEN") orders.list("customer/account/#{account_id}/order", view: view) end