Class: Spree::RefundReason

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

Constant Summary collapse

RETURN_PROCESSING_REASON =
'Return processing'

Class Method Summary collapse

Methods inherited from Base

page, spree_base_scopes

Methods included from Preferences::Preferable

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

Class Method Details

.return_processing_reasonObject



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