summaryrefslogtreecommitdiff
path: root/app/serializers/build_serializer.rb
blob: bae9932847f272e701872a3882ff36f8f4966367 (plain)
1
2
3
4
5
6
7
8
class BuildSerializer < BaseSerializer
  entity JobEntity

  def represent_status(resource)
    data = represent(resource, { only: [:status] })
    data.fetch(:status, {})
  end
end