Class: API::AwardEmoji

Inherits:
Grape::API::Instance
  • Object
show all
Includes:
PaginationParams
Defined in:
lib/api/award_emoji.rb

Constant Summary collapse

AWARDABLES =
[
  { type: 'issue', find_by: :iid },
  { type: 'merge_request', find_by: :iid },
  { type: 'snippet', find_by: :id }
].freeze