Method: TalonOne::Event#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



265
266
267
# File 'lib/talon_one/models/event.rb', line 265

def hash
  [id, created, application_id, profile_id, store_integration_id, type, attributes, session_id, effects, ledger_entries, meta].hash
end