Class: Spree::RefundReason

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

Constant Summary collapse

RETURN_PROCESSING_REASON =
'Return processing'

Class Method Summary collapse

Methods inherited from Base

display_includes

Methods included from Core::Permalinks

#generate_permalink, #save_permalink

Class Method Details

.return_processing_reasonObject



16
17
18
# File 'app/models/spree/refund_reason.rb', line 16

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