Method: UltracartClient::ItemPhysical#==
- Defined in:
- lib/ultracart_api/models/item_physical.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
104 105 106 107 108 109 110 111 |
# File 'lib/ultracart_api/models/item_physical.rb', line 104 def ==(o) return true if self.equal?(o) self.class == o.class && height == o.height && length == o.length && weight == o.weight && width == o.width end |