Class: Trailblazer::Activity::TaskWrap::Pipeline::Merge

Inherits:
Object
  • Object
show all
Defined in:
lib/trailblazer/activity/task_wrap/pipeline.rb

Overview

TODO: remove Merge when old tW extension API is deprecated.

Class Method Summary collapse

Class Method Details

.new(*inserts) ⇒ Object



53
54
55
56
57
58
59
60
# File 'lib/trailblazer/activity/task_wrap/pipeline.rb', line 53

def self.new(*inserts)
  warn "[Trailblazer] Using `Trailblazer::Activity::TaskWrap::Pipeline::Merge.new` is deprecated.
Please use the new TaskWrap.Extension() API: #FIXME!!!"

  # We can safely assume that users calling {Merge.new} are using the old tW extension API, not
  # the "friendly API". That's why we don't go through {Extension.build}.
  TaskWrap::Extension.new(*inserts)
end