Class: Spree::Seeds::All

Inherits:
Object
  • Object
show all
Includes:
Spree::ServiceModule::Base
Defined in:
app/services/spree/seeds/all.rb

Instance Method Summary collapse

Methods included from Spree::ServiceModule::Base

prepended

Instance Method Details

#callObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'app/services/spree/seeds/all.rb', line 6

def call
  # GEO
  Countries.call
  States.call
  Zones.call

  # user roles
  Roles.call

  # additional data
  DefaultReimbursementTypes.call
  ShippingCategories.call
  StoreCreditCategories.call

  # store & stock location
  Stores.call
  StockLocations.call
end