Method: DocSpring::SubmissionDataRequest#==

Defined in:
lib/docspring/models/submission_data_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
# File 'lib/docspring/models/submission_data_request.rb', line 381

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      email == o.email &&
      name == o.name &&
      order == o.order &&
      sort_order == o.sort_order &&
      fields == o.fields &&
       == o. &&
      state == o.state &&
      viewed_at == o.viewed_at &&
      completed_at == o.completed_at &&
      data == o.data &&
      auth_type == o.auth_type &&
      auth_second_factor_type == o.auth_second_factor_type &&
      auth_provider == o.auth_provider &&
      auth_session_started_at == o.auth_session_started_at &&
      auth_session_id_hash == o.auth_session_id_hash &&
      auth_user_id_hash == o.auth_user_id_hash &&
      auth_username_hash == o.auth_username_hash &&
      auth_phone_number_hash == o.auth_phone_number_hash &&
      ip_address == o.ip_address &&
      user_agent == o.user_agent
end