Class: Spree::Seeds::TaxCategories
- Inherits:
-
Object
- Object
- Spree::Seeds::TaxCategories
- Includes:
- Spree::ServiceModule::Base
- Defined in:
- app/services/spree/seeds/tax_categories.rb
Instance Method Summary collapse
Methods included from Spree::ServiceModule::Base
Instance Method Details
#call ⇒ Object
6 7 8 9 |
# File 'app/services/spree/seeds/tax_categories.rb', line 6 def call Spree::TaxCategory.find_or_create_by(name: 'Default', is_default: true) Spree::TaxCategory.find_or_create_by(name: 'Non-taxable') end |