Module: RedmineAPIHelper::IssuePrioritiesAPIHelper

Included in:
Helpers
Defined in:
lib/redmine_api_helper/issue_priorities_api_helper.rb

Instance Method Summary collapse

Instance Method Details

#issue_priorities_url(**params) ⇒ Object

reads issue_priorities_url from args



26
27
28
# File 'lib/redmine_api_helper/issue_priorities_api_helper.rb', line 26

def issue_priorities_url(**params)
  url_path(args.urls.Home, "enumerations", "issue_priorities", params)
end

#list_issue_priorities(**params) ⇒ Object

lists issue_priorities, corresponds to controller#index



33
34
35
# File 'lib/redmine_api_helper/issue_priorities_api_helper.rb', line 33

def list_issue_priorities(**params)
  list_objects(:issue_priorities, params)
end