1 2 3 4 5 6 7
class VariableEntity < Grape::Entity expose :id expose :key expose :value expose :protected?, as: :protected end