lib/substation/dispatcher.rb in substation-0.0.3 vs lib/substation/dispatcher.rb in substation-0.0.4

- old
+ new

@@ -199,10 +199,10 @@ # storage = SomeStorageAbstraction.new # env = App::Environment.new(storage, Logger.new($stdout)) # config = { :some_use_case => { :action => App::SomeUseCase } } # dispatcher = Substation::Dispatcher.coerce(config, env) # - # response = dispatcher.call(:some_use_case, :some_input, env) + # response = dispatcher.call(:some_use_case, :some_input) # response.success? # => true # # @param [Symbol] name # a registered action name #