Method: Klaviyo::Person#==
- Defined in:
- lib/klaviyo_sdk/models/person.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'lib/klaviyo_sdk/models/person.rb', line 232 def ==(o) return true if self.equal?(o) self.class == o.class && object == o.object && id == o.id && _address1 == o._address1 && _address2 == o._address2 && _city == o._city && _country == o._country && _latitude == o._latitude && _longitude == o._longitude && _region == o._region && _zip == o._zip && _email == o._email && _title == o._title && _phone_number == o._phone_number && _organization == o._organization && _first_name == o._first_name && _last_name == o._last_name && _timezone == o._timezone && _id == o._id && created == o.created && updated == o.updated end |