Class: DellinInfo::API::OrderCollection
- Inherits:
-
Object
- Object
- DellinInfo::API::OrderCollection
- Includes:
- ActiveSupport::Configurable, ValideData, 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
Methods included from ValideData
#delete_spase_key, #parse_hash_response, #set_attr_method, #there_tracks
Instance Attribute Details
#cash ⇒ Object (readonly)
Returns the value of attribute cash.
12 13 14 |
# File 'lib/dellininfo/order_collection.rb', line 12 def cash @cash end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
12 13 14 |
# File 'lib/dellininfo/order_collection.rb', line 12 def errors @errors end |
#orders ⇒ Object (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
#each ⇒ Object
14 15 16 17 |
# File 'lib/dellininfo/order_collection.rb', line 14 def each @orders.each {|oder| yield oder} end |