Class: Spree::RefundReason

Inherits:
Base
  • Object
show all
Includes:
NamedType
Defined in:
core/app/models/spree/refund_reason.rb

Constant Summary collapse

RETURN_PROCESSING_REASON =
'Return processing'

Class Method Summary collapse

Methods inherited from Base

display_includes, #initialize_preference_defaults, page, preference

Class Method Details

.return_processing_reasonObject



11
12
13
# File 'core/app/models/spree/refund_reason.rb', line 11

def self.return_processing_reason
  find_by!(name: RETURN_PROCESSING_REASON, mutable: false)
end