Module: RedmineAPIHelper::TrackersAPIHelper

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

Instance Method Summary collapse

Instance Method Details

#list_trackers(**params) ⇒ Object

lists trackers, corresponds to controller#index



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

def list_trackers(**params)
  list_objects(:trackers, params)
end

#trackers_url(**params) ⇒ Object

reads trackers_url from args



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

def trackers_url(**params)
  url_path(args.urls.Home, "trackers", params)
end