Class: Spree::RefundReason

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

Constant Summary

RETURN_PROCESSING_REASON =
'Return processing'

Class Method Summary (collapse)

Methods inherited from Base

display_includes, #initialize_preference_defaults, page, preference

Methods included from Preferences::Preferable

#default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference

Class Method Details

+ (Object) return_processing_reason



9
10
11
# File 'app/models/spree/refund_reason.rb', line 9

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