build_serializer.rb 182 Bytes EditWeb IDE 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