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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
191 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class BuildMetadataEntity < Grape::Entity
expose :timeout_human_readable
expose :timeout_source do |metadata|
metadata.present.timeout_source
end
end