Sha256: 34a3c3107e83e24223c23a597157fc52a4f2b87250082b5d69d0a3ab00be2026

Contents?: true

Size: 108 Bytes

Versions: 10

Compression:

Stored size: 108 Bytes

Contents

Adjustment.class_eval do
  scope :promotion, lambda { where('label LIKE ?', "#{I18n.t(:promotion)}%") }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_promo-0.70.7 app/models/adjustment_decorator.rb
spree_promo-0.70.6 app/models/adjustment_decorator.rb
spree_promo-0.70.5 app/models/adjustment_decorator.rb
spree_promo-0.70.4 app/models/adjustment_decorator.rb
spree_promo-0.70.3 app/models/adjustment_decorator.rb
spree_promo-0.70.2 app/models/adjustment_decorator.rb
spree_promo-0.70.1 app/models/adjustment_decorator.rb
spree_promo-0.70.0 app/models/adjustment_decorator.rb
spree_promo-0.70.0.rc2 app/models/adjustment_decorator.rb
spree_promo-0.70.RC1 app/models/adjustment_decorator.rb