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: 0649fdad6a89afdc6faa303f85ed9e303bc9916e (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class BuildSerializer < BaseSerializer
  entity JobEntity

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