Class: Algolia::RuleIterator
- Inherits:
-
PaginatorIterator
- Object
- BaseIterator
- PaginatorIterator
- Algolia::RuleIterator
- Defined in:
- lib/algolia/iterators/rule_iterator.rb
Instance Attribute Summary
Attributes inherited from BaseIterator
#index_name, #opts, #transporter
Instance Method Summary collapse
-
#get_endpoint ⇒ Object
Creates the endpoint on which to fetch rules.
Methods inherited from PaginatorIterator
Methods inherited from BaseIterator
Methods included from Helpers
#check_array, #check_object, #chunk, #deserialize_settings, #get_object_id, #get_option, #handle_params, #hash_includes_subset?, included, #json_to_hash, #path_encode, #symbolize_hash, #to_json, #to_query_string
Constructor Details
This class inherits a constructor from Algolia::PaginatorIterator
Instance Method Details
#get_endpoint ⇒ Object
Creates the endpoint on which to fetch rules
5 6 7 |
# File 'lib/algolia/iterators/rule_iterator.rb', line 5 def get_endpoint path_encode('1/indexes/%s/rules/search', @index_name) end |