Module: RedmineAPIHelper::TimeEntryActivitiesAPIHelper

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

Instance Method Summary collapse

Instance Method Details

#list_time_entry_activities(**params) ⇒ Object

lists time_entries, corresponds to controller#index



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

def list_time_entry_activities(**params)
  list_objects(:time_entry_activities, params)
end

#time_entry_activities_url(**params) ⇒ Object

reads time_entry_activities_url from args



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

def time_entry_activities_url(**params)
  url_path(args.urls.Home, "enumerations", "time_entry_activities", params)
end