gitlab-org--gitlab-foss/app/serializers/build_trace_entity.rb

17 lines
298 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class BuildTraceEntity < Grape::Entity
expose :build_id, as: :id
expose :build_status, as: :status
expose :build_complete?, as: :complete
expose :state
expose :append
expose :truncated
expose :offset
expose :size
expose :total
expose :lines
end