Method: Onfido::IdentityEnhancedPropertiesMatchedAddressesInner#==

Defined in:
lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



94
95
96
97
98
99
# File 'lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb', line 94

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      match_types == o.match_types
end