Method: TalonOne::NewEvent#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



173
174
175
# File 'lib/talon_one/models/new_event.rb', line 173

def hash
  [profile_id, type, attributes, session_id].hash
end