Method: DocSpring::CustomFile#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



111
112
113
# File 'lib/docspring/models/custom_file.rb', line 111

def hash
  [id, url].hash
end