diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 15:33:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 15:33:31 +0300 |
commit | 634cbd71380f595f6f44ce93399b92fbee37f98f (patch) | |
tree | c421f7fd1b2cfbf396f8765e948b19fa47d1fd6e /lib/api/internal.rb | |
parent | e6224942cee8f02d96e51098552a738f1d89860f (diff) | |
download | gitlab-ce-634cbd71380f595f6f44ce93399b92fbee37f98f.tar.gz |
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 3e1173bd0a3..a602dc05418 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -1,4 +1,4 @@ -module Gitlab +module API # Internal access API class Internal < Grape::API namespace 'internal' do @@ -58,7 +58,7 @@ module Gitlab get "/check" do { - api_version: Gitlab::API.version, + api_version: API.version, gitlab_version: Gitlab::VERSION, gitlab_rev: Gitlab::REVISION, } |