Class: Spree::CartRemovalsReport::Result::Observation
- Inherits:
-
Report::Observation
- Object
- Report::Observation
- Spree::CartRemovalsReport::Result::Observation
- Defined in:
- app/reports/spree/cart_removals_report.rb
Instance Method Summary collapse
Methods inherited from Report::Observation
build_from_hash, build_from_list, #initialize, observation_fields, #to_h
Constructor Details
This class inherits a constructor from Spree::Report::Observation
Instance Method Details
#sku ⇒ Object
14 15 16 |
# File 'app/reports/spree/cart_removals_report.rb', line 14 def sku @sku.presence || @product_name end |