Method: Algolia::Search::PromoteObjectIDs#==

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

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



88
89
90
91
92
93
# File 'lib/algolia/models/search/promote_object_ids.rb', line 88

def ==(other)
  return true if self.equal?(other)
  self.class == other.class &&
    object_ids == other.object_ids &&
    position == other.position
end