2020-02-13 15:08:52 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class List < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :label, using: Entities::LabelBasic
|
|
|
|
expose :position
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2020-02-17 12:09:20 +00:00
|
|
|
|
2021-05-11 21:10:21 +00:00
|
|
|
API::Entities::List.prepend_mod_with('API::Entities::List')
|