Method: MParticle::AppEvent#hash

Defined in:
lib/mparticle/models/app_event.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



210
211
212
# File 'lib/mparticle/models/app_event.rb', line 210

def hash
  [timestamp_unixtime_ms, event_id, source_message_id, session_id, session_uuid, custom_attributes, location, device_current_state, custom_event_type, event_name, media_info, custom_flags].hash
end