Method: TalonOne::NewCustomerSession#==
- Defined in:
- lib/talon_one/models/new_customer_session.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/talon_one/models/new_customer_session.rb', line 209 def ==(o) return true if self.equal?(o) self.class == o.class && profile_id == o.profile_id && coupon == o.coupon && referral == o.referral && state == o.state && cart_items == o.cart_items && identifiers == o.identifiers && total == o.total && attributes == o.attributes end |