Class: SolidusImporter::Processors::Order
- Defined in:
- lib/solidus_importer/processors/order.rb
Instance Method Summary collapse
Instance Method Details
#call(context) ⇒ Object
6 7 8 9 10 |
# File 'lib/solidus_importer/processors/order.rb', line 6 def call(context) @data = context.fetch(:data) check_data context.merge!(order: order_attributes) end |
#options ⇒ Object
12 13 14 15 16 |
# File 'lib/solidus_importer/processors/order.rb', line 12 def @options ||= { store: Spree::Store.default } end |