Module: SolidusPromotions::AdjustmentPatch

Defined in:
app/patches/models/solidus_promotions/adjustment_patch.rb

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



5
6
7
# File 'app/patches/models/solidus_promotions/adjustment_patch.rb', line 5

def self.prepended(base)
  base.scope :solidus_promotion, -> { where(source_type: "SolidusPromotions::Benefit") }
end