Method: Algolia::Insights::AddedToCartObjectIDs#hash

Defined in:
lib/algolia/models/insights/added_to_cart_object_ids.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'lib/algolia/models/insights/added_to_cart_object_ids.rb', line 202

def hash
  [
    event_name,
    event_type,
    event_subtype,
    index,
    object_ids,
    user_token,
    authenticated_user_token,
    currency,
    object_data,
    timestamp,
    value
  ].hash
end