Sha256: 1f812e98f1db4b22389a4a603ef5a3297bd58b0168fe47fe571137b9bd2fca2d
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
module Workarea decorate Storefront::ProductViewModel, with: :flow_io do def flow_item_number current_sku || id end def pricing super.tap do |pricing_collection| if options[:flow_experience] pricing_collection.flow_experience = options[:flow_experience] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-flow_io-1.2.1 | app/view_models/workarea/storefront/product_view_model.decorator |