lib/algolia/models/query-suggestions/configuration_response.rb in algolia-3.5.0 vs lib/algolia/models/query-suggestions/configuration_response.rb in algolia-3.5.1
- old
+ new
@@ -142,26 +142,9 @@
else
self.allow_special_characters = nil
end
end
- # Custom attribute writer method with validation
- # @param [Object] source_indices Value to be assigned
- def source_indices=(source_indices)
- if source_indices.nil?
- raise ArgumentError, "source_indices cannot be nil"
- end
-
- if source_indices.length < 1
- raise(
- ArgumentError,
- "invalid value for \"source_indices\", number of items must be greater than or equal to 1."
- )
- end
-
- @source_indices = source_indices
- end
-
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(other)
return true if self.equal?(other)
self.class == other.class &&