debian-mirror-gitlab/app/serializers/build_metadata_entity.rb

9 lines
191 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2018-05-09 12:01:36 +05:30
class BuildMetadataEntity < Grape::Entity
expose :timeout_human_readable
expose :timeout_source do |metadata|
metadata.present.timeout_source
end
end