Method: DocSpring::SubmissionPreview#hash

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

#hashInteger

Calculates hash code according to all attributes.



443
444
445
# File 'lib/docspring/models/submission_preview.rb', line 443

def hash
  [batch_id, data_requests, editable, expired, expires_at, id, json_schema_errors, , password, processed_at, state, template_id, template_type, template_version, test, truncated_text, pdf_hash, download_url, permanent_download_url, preview_download_url, preview_generated_at, audit_trail_download_url, actions].hash
end