Method: Onfido::Extraction#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



115
116
117
# File 'lib/onfido/models/extraction.rb', line 115

def hash
  [document_id, document_classification, extracted_data].hash
end