Class: ChinaShop::CancelOrder
- Inherits:
-
Object
- Object
- ChinaShop::CancelOrder
- Defined in:
- lib/chinashop/cancel_order.rb
Instance Attribute Summary collapse
-
#all ⇒ Object
Returns the value of attribute all.
Instance Method Summary collapse
-
#initialize(cancel = {}) ⇒ CancelOrder
constructor
A new instance of CancelOrder.
Constructor Details
#initialize(cancel = {}) ⇒ CancelOrder
Returns a new instance of CancelOrder.
5 6 7 |
# File 'lib/chinashop/cancel_order.rb', line 5 def initialize(cancel = {}) self.all = cancel['result'] end |
Instance Attribute Details
#all ⇒ Object
Returns the value of attribute all.
3 4 5 |
# File 'lib/chinashop/cancel_order.rb', line 3 def all @all end |