Method: PureCloud::LocationAddress#==
- Defined in:
- lib/purecloud/models/location_address.rb
#==(o) ⇒ Object
Check equality by comparing each attribute.
108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/purecloud/models/location_address.rb', line 108 def ==(o) return true if self.equal?(o) self.class == o.class && city == o.city && country == o.country && country_name == o.country_name && state == o.state && street1 == o.street1 && street2 == o.street2 && zipcode == o.zipcode end |