Class: Shipping::PackingCalculator::Unit
- Inherits:
-
Struct
- Object
- Struct
- Shipping::PackingCalculator::Unit
- Defined in:
- app/services/shipping/packing_calculator.rb
Overview
Internal representation of one packed unit (quantity already expanded to 1).
Instance Attribute Summary collapse
-
#dimensions ⇒ Object
Returns the value of attribute dimensions.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Attribute Details
#dimensions ⇒ Object
Returns the value of attribute dimensions
76 77 78 |
# File 'app/services/shipping/packing_calculator.rb', line 76 def dimensions @dimensions end |
#item_id ⇒ Object
Returns the value of attribute item_id
76 77 78 |
# File 'app/services/shipping/packing_calculator.rb', line 76 def item_id @item_id end |
#weight ⇒ Object
Returns the value of attribute weight
76 77 78 |
# File 'app/services/shipping/packing_calculator.rb', line 76 def weight @weight end |