Method: Plaid::ConsumerReportUserIdentity#==

Defined in:
lib/plaid/models/consumer_report_user_identity.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/plaid/models/consumer_report_user_identity.rb', line 202

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      first_name == o.first_name &&
      last_name == o.last_name &&
      phone_numbers == o.phone_numbers &&
      emails == o.emails &&
      ssn_full == o.ssn_full &&
      ssn_last_4 == o.ssn_last_4 &&
      date_of_birth == o.date_of_birth &&
      primary_address == o.primary_address
end