core/app/services/spree/seeds/default_reimbursement_types.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
module Spree
  module Seeds
    class DefaultReimbursementTypes
      prepend Spree::ServiceModule::Base

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