Class: Spree::PromotionRule

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

Instance Method Summary collapse

Instance Method Details

#eligible?(order, options = {}) ⇒ Boolean


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

def eligible?(order, options = {})
  raise 'eligible? should be implemented in a sub-class of Promotion::PromotionRule'
end