Class: API::Todos

Inherits:
Base
  • Object
show all
Includes:
PaginationParams
Defined in:
lib/api/todos.rb

Constant Summary collapse

ISSUABLE_TYPES =
{
  'merge_requests' => ->(iid) { find_merge_request_with_access(iid) },
  'issues' => ->(iid) { find_project_issue(iid) }
}.freeze

Constants included from Gitlab::EndpointAttributes

Gitlab::EndpointAttributes::DEFAULT_URGENCY

Method Summary

Methods inherited from Base

endpoint_id_for_route, feature_category_for_app, path_for_app, route, urgency_for_app