Module: Trailblazer::Macro::Each::Transitive

Defined in:
lib/trailblazer/macro/each.rb

Overview

FIXME: for Strategy that wants to pass-through the exec_context, so it looks “invisible” for steps.

Instance Method Summary collapse

Instance Method Details

#call(args, exec_context:, **circuit_options) ⇒ Object



7
8
9
10
# File 'lib/trailblazer/macro/each.rb', line 7

def call(args, exec_context:, **circuit_options)
  # exec_context is our hosting Song::Activity::Cover
  to_h[:activity].call(args, exec_context: exec_context, **circuit_options)
end