lib/algolia/models/search/promote_object_ids.rb in algolia-3.10.2 vs lib/algolia/models/search/promote_object_ids.rb in algolia-3.11.0

- old
+ new

@@ -19,12 +19,14 @@ :object_ids => :objectIDs, :position => :position } end - # Returns all the JSON keys this model knows about - def self.acceptable_attributes - attribute_map.values + # Returns the keys that uniquely identify this oneOf variant when present + def self.discriminator_attributes + [ + :objectIDs + ] end # Attribute type mapping. def self.types_mapping {