Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build_serializer.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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