Class: Spree::StoreCreditCategory

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

Constant Summary collapse

GIFT_CARD =
'Gift Card'
REIMBURSEMENT =
'Reimbursement'

Instance Method Summary collapse

Methods inherited from Base

display_includes

Methods included from Core::Permalinks

#generate_permalink, #save_permalink

Instance Method Details

#non_expiring?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'app/models/spree/store_credit_category.rb', line 10

def non_expiring?
  self.class.non_expiring_credit_types.include? name
end