Method: OpenapiClient::Address#==
- Defined in:
- lib/openapi_client/models/address.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/openapi_client/models/address.rb', line 229 def ==(o) return true if self.equal?(o) self.class == o.class && company == o.company && address1 == o.address1 && address2 == o.address2 && city == o.city && region == o.region && postal_code == o.postal_code && country == o.country end |