Class: CheckoutRu::Order

Inherits:
Entity
  • Object
show all
Defined in:
lib/checkout_ru/order.rb

Defined Under Namespace

Modules: Status

Instance Method Summary collapse

Methods inherited from Entity

#to_json

Constructor Details

#initializeOrder

Returns a new instance of Order.



29
30
31
32
# File 'lib/checkout_ru/order.rb', line 29

def initialize(*)
  super
  self[:goods] ||= []
end