2016-11-18 21:19:04 -05:00
|
|
|
class IssuableEntity < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :iid
|
|
|
|
expose :author_id
|
|
|
|
expose :description
|
|
|
|
expose :lock_version
|
|
|
|
expose :milestone_id
|
|
|
|
expose :state
|
|
|
|
expose :title
|
|
|
|
expose :updated_by_id
|
|
|
|
expose :created_at
|
|
|
|
expose :updated_at
|
|
|
|
expose :deleted_at
|
2016-12-23 00:44:02 -05:00
|
|
|
expose :time_estimate
|
|
|
|
expose :total_time_spent
|
|
|
|
expose :human_time_estimate
|
|
|
|
expose :human_total_time_spent
|
2017-06-23 18:10:05 -04:00
|
|
|
expose :milestone, using: API::Entities::Milestone
|
|
|
|
expose :labels, using: LabelEntity
|
2016-11-18 21:19:04 -05:00
|
|
|
end
|