Class: ChinaShop::CancelOrder

Inherits:
Object
  • Object
show all
Defined in:
lib/chinashop/cancel_order.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#allObject

Returns the value of attribute all.



3
4
5
# File 'lib/chinashop/cancel_order.rb', line 3

def all
  @all
end