debian-mirror-gitlab/lib/api/entities/ssh_key.rb
2020-06-23 00:09:42 +05:30

10 lines
202 B
Ruby

# frozen_string_literal: true
module API
module Entities
class SSHKey < Grape::Entity
expose :id, :title, :created_at, :expires_at
expose :publishable_key, as: :key
end
end
end