Method: Onfido::WorkflowRunShared#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



188
189
190
191
192
193
194
195
196
197
198
# File 'lib/onfido/models/workflow_run_shared.rb', line 188

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      applicant_id == o.applicant_id &&
      workflow_id == o.workflow_id &&
      tags == o.tags &&
      customer_user_id == o.customer_user_id &&
      link == o.link &&
      created_at == o.created_at &&
      updated_at == o.updated_at
end