Method: Algolia::Search::PromoteObjectIDs#hash

Defined in:
lib/algolia/models/search/promote_object_ids.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



103
104
105
# File 'lib/algolia/models/search/promote_object_ids.rb', line 103

def hash
  [object_ids, position].hash
end