Method: Plaid::EmploymentVerification#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



150
151
152
153
154
155
156
157
158
159
# File 'lib/plaid/models/employment_verification.rb', line 150

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      status == o.status &&
      start_date == o.start_date &&
      end_date == o.end_date &&
      employer == o.employer &&
      title == o.title &&
      platform_ids == o.platform_ids
end