Class: Spree::Seeds::DefaultReimbursementTypes

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

Instance Method Summary collapse

Methods included from Spree::ServiceModule::Base

prepended

Instance Method Details

#callObject



6
7
8
9
# File 'app/services/spree/seeds/default_reimbursement_types.rb', line 6

def call
  # FIXME: we should use translations here
  Spree::RefundReason.find_or_create_by!(name: 'Return processing', mutable: false)
end