debian-mirror-gitlab/lib/api/entities/ssh_key.rb

11 lines
202 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class SSHKey < Grape::Entity
2020-06-23 00:09:42 +05:30
expose :id, :title, :created_at, :expires_at
expose :publishable_key, as: :key
2020-03-13 15:44:24 +05:30
end
end
end