Class: DellinInfo::API::OrderCollection
- Inherits:
-
BaseApi
- Object
- BaseApi
- DellinInfo::API::OrderCollection
- Includes:
- Enumerable
- Defined in:
- lib/dellininfo/order_collection.rb
Instance Attribute Summary collapse
-
#cash ⇒ Object
readonly
Returns the value of attribute cash.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#orders ⇒ Object
readonly
Returns the value of attribute orders.
Instance Method Summary collapse
Instance Attribute Details
#cash ⇒ Object (readonly)
Returns the value of attribute cash.
11 12 13 |
# File 'lib/dellininfo/order_collection.rb', line 11 def cash @cash end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
11 12 13 |
# File 'lib/dellininfo/order_collection.rb', line 11 def errors @errors end |
#orders ⇒ Object (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
#each ⇒ Object
13 14 15 16 |
# File 'lib/dellininfo/order_collection.rb', line 13 def each @orders.each {|oder| yield oder} end |