Method: TalonOne::ApplicationSession#==
- Defined in:
- lib/talon_one/models/application_session.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/talon_one/models/application_session.rb', line 236 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && created == o.created && application_id == o.application_id && profile_id == o.profile_id && integration_id == o.integration_id && coupon == o.coupon && referral == o.referral && state == o.state && cart_items == o.cart_items && discounts == o.discounts && attributes == o.attributes end |