Class: HelpScoutDocs::Collection
- Defined in:
- lib/help_scout_docs/methods/collection.rb
Instance Attribute Summary
Attributes inherited from Method
Instance Method Summary collapse
-
#get(id, options = {}) ⇒ Object
Get a collection.
-
#list(options = {}) ⇒ Object
List collections.
Methods inherited from Method
#client?, #initialize, #initialize_client
Constructor Details
This class inherits a constructor from HelpScoutDocs::Method
Instance Method Details
#get(id, options = {}) ⇒ Object
Get a collection
11 12 13 |
# File 'lib/help_scout_docs/methods/collection.rb', line 11 def get(id, ={}) get_request("collections/#{id}", ) end |
#list(options = {}) ⇒ Object
List collections
5 6 7 |
# File 'lib/help_scout_docs/methods/collection.rb', line 5 def list(={}) get_request("collections", ) end |