Class: Peek::Views::Host

Inherits:
View
  • Object
show all
Defined in:
lib/peek/views/host.rb

Instance Method Summary collapse

Instance Method Details

#resultsObject



6
7
8
9
10
11
# File 'lib/peek/views/host.rb', line 6

def results
  {
    hostname: Gitlab::Environment.hostname,
    canary: Gitlab::Utils.to_boolean(ENV['CANARY'])
  }
end