Method: TransferZero::Document#hash

Defined in:
lib/transferzero-sdk/models/document.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



266
267
268
# File 'lib/transferzero-sdk/models/document.rb', line 266

def hash
  [upload, url, upload_file_name, , upload_content_type, upload_file_size, category, side, document_type, issuing_country, id, document_id, expiry_date, source, errors].hash
end