summaryrefslogtreecommitdiff
path: root/lib/api/helpers
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-02-16 01:30:46 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2017-02-16 01:30:46 +0100
commite25f26e5503a5aa07f5cfc436e10b92254185f9a (patch)
treed0c93d14bba4c8caa86a8c6af57acdab3c2c54a4 /lib/api/helpers
parent22c983d7a0219e48856800405aec7d9b930fc9a1 (diff)
downloadgitlab-ce-feature/runners-v4-api.tar.gz
Rename API::Ci to API::Runnerfeature/runners-v4-api
Diffstat (limited to 'lib/api/helpers')
-rw-r--r--lib/api/helpers/runner.rb (renamed from lib/api/helpers/ci.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/ci.rb b/lib/api/helpers/runner.rb
index e928d7c874a..119ca81b883 100644
--- a/lib/api/helpers/ci.rb
+++ b/lib/api/helpers/runner.rb
@@ -1,6 +1,6 @@
module API
module Helpers
- module Ci
+ module Runner
def runner_registration_token_valid?
ActiveSupport::SecurityUtils.variable_size_secure_compare(params[:token],
current_application_settings.runners_registration_token)