Method: FormAPI::CombinedSubmission#==

Defined in:
lib/form_api/models/combined_submission.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'lib/form_api/models/combined_submission.rb', line 165

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      expired == o.expired &&
      expires_at == o.expires_at &&
      source_pdfs == o.source_pdfs &&
      download_url == o.download_url &&
      submission_ids == o.submission_ids &&
      id == o.id &&
      state == o.state &&
      actions == o.actions
end