Module: SolidusFriendlyPromotions::Benefits::OrderBenefit

Included in:
CreateDiscountedItem
Defined in:
app/models/concerns/solidus_friendly_promotions/benefits/order_benefit.rb

Instance Method Summary collapse

Instance Method Details

#can_discount?(_) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'app/models/concerns/solidus_friendly_promotions/benefits/order_benefit.rb', line 6

def can_discount?(_)
  false
end

#levelObject



10
11
12
# File 'app/models/concerns/solidus_friendly_promotions/benefits/order_benefit.rb', line 10

def level
  :order
end