Method: Orchestrate::Client#list
- Defined in:
- lib/orchestrate/client.rb
#list(collection, options = {}) ⇒ Object
Note:
The Orchestrate API may return an error if you include both the :start/:after or :before/:end keys. The client will not stop you from doing this.
Note:
To include all keys in a collection, do not include any :start/:after/:before/:end parameters.
List the KeyValue items in a collection. Results are sorted results lexicographically by key name and paginated.
249 250 251 252 |
# File 'lib/orchestrate/client.rb', line 249 def list(collection, ={}) API::Helpers.range_keys!('key', ) send_request :get, [collection], { query: , response: API::CollectionResponse } end |