Module: RedboothRuby::ClientOperations::Metadata
- Included in:
- RedboothRuby::Client
- Defined in:
- lib/redbooth-ruby/client_operations/metadata.rb
Instance Method Summary collapse
-
#metadata(attributes = {}) ⇒ Array
Retrieves all available objects from the Redbooth API by searching by given key and value into the metadata API.
Instance Method Details
#metadata(attributes = {}) ⇒ Array
Retrieves all available objects from the Redbooth API by searching by given key and value into the metadata API
10 11 12 13 |
# File 'lib/redbooth-ruby/client_operations/metadata.rb', line 10 def (attributes = {}) response = RedboothRuby.request(:get, nil, 'metadata/search' , attributes, { session: session }) collection_from attributes, response, session end |