Method: UltracartClient::ItemPhysical#hash
- Defined in:
- lib/ultracart_api/models/item_physical.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
121 122 123 |
# File 'lib/ultracart_api/models/item_physical.rb', line 121 def hash [height, length, weight, width].hash end |