2020-03-09 13:42:32 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
# Use with care, this exposes the secret
|
|
|
|
class ApplicationWithSecret < Entities::Application
|
2023-01-13 00:05:48 +05:30
|
|
|
expose :secret, documentation: { type: 'string',
|
|
|
|
example: 'ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34' }
|
2020-03-09 13:42:32 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|