Class: API::Todos

Inherits:
Grape::API::Instance
  • 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