summaryrefslogtreecommitdiff
path: root/lib/gitlab_net.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 15:55:28 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 15:55:28 +0200
commit43a55494f15084fe4c6ed5f9e7703a7bb092af86 (patch)
tree3478175de330bbd90b0557e2db2aa09bbc5fb0a0 /lib/gitlab_net.rb
parente7a4d233c47743acfc788767c93fd7153269be31 (diff)
downloadgitlab-shell-43a55494f15084fe4c6ed5f9e7703a7bb092af86.tar.gz
add check bin
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