summaryrefslogtreecommitdiff
path: root/lib/api/entities/custom_attribute.rb
blob: 883b572ac756ea9b569d8578e631741168f97ea4 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module API
  module Entities
    class CustomAttribute < Grape::Entity
      expose :key, documentation: { type: 'string', example: 'foo' }
      expose :value, documentation: { type: 'string', example: 'bar' }
    end
  end
end