Module: RedmineAPIHelper::SearchAPIHelper

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

Instance Method Summary collapse

Instance Method Details

#list_search(**params) ⇒ Object

list_search result, corresponds to controller#index



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

def list_search(**params)
  jget(:url => search_url, :params => params).results
end

#search_url(**params) ⇒ Object

reads my_account_url from args



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

def search_url(**params)
  url_path(args.urls.Home, "search", params)
end