Module: Trailblazer::Operation::Container
- Defined in:
- lib/trailblazer/operation/container.rb
Instance Method Summary collapse
Instance Method Details
#options_for_public_call(options = {}, *containers) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/trailblazer/operation/container.rb', line 3 def (={}, *containers) # generate the skill hash that embraces runtime options plus potential containers, the so called Runtime options. # This wrapping is supposed to happen once in the entire system. hash_transformer = ->(containers) { containers[0].to_hash } # FIXME: don't transform any containers into kw args. = Trailblazer::Context::ContainerChain.new([, *containers], to_hash: hash_transformer) Trailblazer::Context() end |