2020-02-08 03:08:47 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class SSHKey < Grape::Entity
|
2020-06-15 18:08:43 +00:00
|
|
|
expose :id, :title, :created_at, :expires_at
|
|
|
|
expose :publishable_key, as: :key
|
2020-02-08 03:08:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|