Method: WineShipping::TransferOrderInfo#==
- Defined in:
- lib/wine_shipping/models/transfer_order_info.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/wine_shipping/models/transfer_order_info.rb', line 133 def ==(o) return true if self.equal?(o) self.class == o.class && customer_reference_no == o.customer_reference_no && transfer_from == o.transfer_from && transfer_to == o.transfer_to && requested_date == o.requested_date && inventory_status_code == o.inventory_status_code && special_instruction == o.special_instruction && first_name == o.first_name && last_name == o.last_name && email_address == o.email_address && phone_number == o.phone_number end |