summaryrefslogtreecommitdiff
path: root/lib/gitlab_net.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab_net.rb')
-rw-r--r--lib/gitlab_net.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb
index 745394a..93e9803 100644
--- a/lib/gitlab_net.rb
+++ b/lib/gitlab_net.rb
@@ -22,6 +22,10 @@ class GitlabNet
JSON.parse(resp.body)
end
+ def check
+ get("#{host}/check")
+ end
+
protected
def host