2018-07-19 18:43:13 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-30 01:01:53 +00:00
|
|
|
class VariableEntity < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :key
|
|
|
|
expose :value
|
2020-01-29 00:08:58 +00:00
|
|
|
expose :variable_type
|
2018-01-30 01:01:53 +00:00
|
|
|
|
|
|
|
expose :protected?, as: :protected
|
2019-03-29 15:46:31 +00:00
|
|
|
expose :masked?, as: :masked
|
2019-08-08 18:51:52 +00:00
|
|
|
expose :environment_scope
|
2018-01-30 01:01:53 +00:00
|
|
|
end
|