Class: DellinInfo::API::OrderCollection

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable, ValideData, Enumerable
Defined in:
lib/dellininfo/order_collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ValideData

#delete_spase_key, #parse_hash_response, #set_attr_method, #there_tracks

Instance Attribute Details

#cashObject (readonly)

Returns the value of attribute cash.



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

def cash
  @cash
end

#errorsObject (readonly)

Returns the value of attribute errors.



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

def errors
  @errors
end

#ordersObject (readonly)

Returns the value of attribute orders.



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

def orders
  @orders
end

Instance Method Details

#eachObject



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

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