diff options
Diffstat (limited to 'lib/api/entities/application_with_secret.rb')
-rw-r--r-- | lib/api/entities/application_with_secret.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/entities/application_with_secret.rb b/lib/api/entities/application_with_secret.rb new file mode 100644 index 00000000000..3e540381d89 --- /dev/null +++ b/lib/api/entities/application_with_secret.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module API + module Entities + # Use with care, this exposes the secret + class ApplicationWithSecret < Entities::Application + expose :secret + end + end +end |