summaryrefslogtreecommitdiff
path: root/lib/peek/views/host.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/peek/views/host.rb')
-rw-r--r--lib/peek/views/host.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/peek/views/host.rb b/lib/peek/views/host.rb
new file mode 100644
index 00000000000..43c8a35c7ea
--- /dev/null
+++ b/lib/peek/views/host.rb
@@ -0,0 +1,9 @@
+module Peek
+ module Views
+ class Host < View
+ def results
+ { hostname: Gitlab::Environment.hostname }
+ end
+ end
+ end
+end