Module: RedboothRuby::Operations::Index::ClassMethods
- Defined in:
- lib/redbooth-ruby/operations/index.rb
Instance Method Summary collapse
-
#index(attributes = {}) ⇒ Array
Retrieves all available objects from the Copy API.
Instance Method Details
#index(attributes = {}) ⇒ Array
Retrieves all available objects from the Copy API
9 10 11 12 13 |
# File 'lib/redbooth-ruby/operations/index.rb', line 9 def index(attributes = {}) session = attributes.delete(:session) response = RedboothRuby.request(:get, nil, api_collection_url , attributes, (session: session)) collection_from attributes, response, session end |