debian-mirror-gitlab/lib/api/entities/trigger.rb
2020-03-09 13:42:32 +05:30

15 lines
316 B
Ruby

# frozen_string_literal: true
module API
module Entities
class Trigger < Grape::Entity
include ::API::Helpers::Presentable
expose :id
expose :token
expose :description
expose :created_at, :updated_at, :last_used
expose :owner, using: Entities::UserBasic
end
end
end