summaryrefslogtreecommitdiff
path: root/app/serializers/build_metadata_entity.rb
blob: 6242ee8957d5c7b121b0595c8c9cea981f4d9b25 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

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