Module: RedmineAPIHelper::DocumentCategoriesAPIHelper
- Included in:
- Helpers
- Defined in:
- lib/redmine_api_helper/document_categories_api_helper.rb
Instance Method Summary collapse
-
#document_categories_url(**params) ⇒ Object
reads document_categories_url from args.
-
#list_document_categories(**params) ⇒ Object
lists document_categories, corresponds to controller#index.
Instance Method Details
#document_categories_url(**params) ⇒ Object
reads document_categories_url from args
26 27 28 |
# File 'lib/redmine_api_helper/document_categories_api_helper.rb', line 26 def document_categories_url(**params) url_path(args.urls.Home, "enumerations", "document_categories", params) end |
#list_document_categories(**params) ⇒ Object
lists document_categories, corresponds to controller#index
33 34 35 |
# File 'lib/redmine_api_helper/document_categories_api_helper.rb', line 33 def list_document_categories(**params) list_objects(:document_categories, params) end |