Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'danger/plugins/roulette.rb')
-rw-r--r--danger/plugins/roulette.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/danger/plugins/roulette.rb b/danger/plugins/roulette.rb
index 7c62cff0c92..4f3d1d73428 100644
--- a/danger/plugins/roulette.rb
+++ b/danger/plugins/roulette.rb
@@ -4,7 +4,12 @@ require_relative '../../lib/gitlab/danger/roulette'
module Danger
class Roulette < Plugin
+ ROULETTE_DATA_URL = 'https://about.gitlab.com/roulette.json'
# Put the helper code somewhere it can be tested
include Gitlab::Danger::Roulette
+
+ def roulette_data
+ http_get_json(ROULETTE_DATA_URL)
+ end
end
end