2016-12-07 10:46:37 -05:00
|
|
|
class StatusEntity < Grape::Entity
|
|
|
|
include RequestAwareEntity
|
|
|
|
|
2017-02-27 14:17:21 -05:00
|
|
|
expose :icon, :favicon, :text, :label, :group
|
2016-12-07 10:46:37 -05:00
|
|
|
|
|
|
|
expose :has_details?, as: :has_details
|
|
|
|
expose :details_path
|
|
|
|
end
|