Method: TalonOne::Entity#hash

Defined in:
lib/talon_one/models/entity.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



109
110
111
# File 'lib/talon_one/models/entity.rb', line 109

def hash
  [id, created].hash
end