Class: DellinInfo::API::OrderCollection

Inherits:
BaseApi
  • Object
show all
Includes:
Enumerable
Defined in:
lib/dellininfo/order_collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cashObject (readonly)

Returns the value of attribute cash.



11
12
13
# File 'lib/dellininfo/order_collection.rb', line 11

def cash
  @cash
end

#errorsObject (readonly)

Returns the value of attribute errors.



11
12
13
# File 'lib/dellininfo/order_collection.rb', line 11

def errors
  @errors
end

#ordersObject (readonly)

Returns the value of attribute orders.



11
12
13
# File 'lib/dellininfo/order_collection.rb', line 11

def orders
  @orders
end

Instance Method Details

#eachObject



13
14
15
16
# File 'lib/dellininfo/order_collection.rb', line 13

def each 
  @orders.each {|oder| yield oder} 
  
end