Class: Spree::StockLocations::StockItems::CreateJob

Inherits:
BaseJob
  • Object
show all
Defined in:
app/jobs/spree/stock_locations/stock_items/create_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(stock_location) ⇒ Object



7
8
9
# File 'app/jobs/spree/stock_locations/stock_items/create_job.rb', line 7

def perform(stock_location)
  Spree::StockLocations::StockItems::Create.call(stock_location: stock_location)
end