diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 15:55:28 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 15:55:28 +0200 |
| commit | 43a55494f15084fe4c6ed5f9e7703a7bb092af86 (patch) | |
| tree | 3478175de330bbd90b0557e2db2aa09bbc5fb0a0 /lib/gitlab_net.rb | |
| parent | e7a4d233c47743acfc788767c93fd7153269be31 (diff) | |
| download | gitlab-shell-43a55494f15084fe4c6ed5f9e7703a7bb092af86.tar.gz | |
add check bin
Diffstat (limited to 'lib/gitlab_net.rb')
| -rw-r--r-- | lib/gitlab_net.rb | 4 |
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 |
