debian-mirror-gitlab/lib/peek/views/host.rb
2018-12-13 13:39:08 +05:30

14 lines
254 B
Ruby

# frozen_string_literal: true
module Peek
module Views
class Host < View
def results
{
hostname: Gitlab::Environment.hostname,
canary: Gitlab::Utils.to_boolean(ENV['CANARY'])
}
end
end
end
end