summaryrefslogtreecommitdiff
path: root/app/models/concerns/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-22 16:11:11 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-25 10:38:13 +0100
commitec7f4b487635fe8840adbc39279c3ae689897753 (patch)
treec0575250428aceaf83c70eea642054be23ca44d6 /app/models/concerns/ci
parent67464972c0dc0df57026f70e8ce3655dc5c205ba (diff)
downloadgitlab-ce-ec7f4b487635fe8840adbc39279c3ae689897753.tar.gz
Add `when` method to be required in case of processables
Diffstat (limited to 'app/models/concerns/ci')
-rw-r--r--app/models/concerns/ci/processable.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/ci/processable.rb b/app/models/concerns/ci/processable.rb
index 8edffb14a30..c33e33c128f 100644
--- a/app/models/concerns/ci/processable.rb
+++ b/app/models/concerns/ci/processable.rb
@@ -20,6 +20,10 @@ module Ci
raise NotImplementedError
end
+ def when
+ raise NotImplementedError
+ end
+
def expanded_environment_name
raise NotImplementedError
end