Sha256: 89e1e630585cadb6a696bc0344c8717f2d38b7d175ed2cc7286650011b44db9b

Contents?: true

Size: 99 Bytes

Versions: 2

Compression:

Stored size: 99 Bytes

Contents

Spree::LineItem.class_eval do
  before_save -> { order.send :validate_line_item_availability }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_json_api-0.3.1 app/models/spree/line_item_decorator.rb
solidus_json_api-0.3.0 app/models/spree/line_item_decorator.rb