lib/micro/service/pipeline.rb in u-service-0.13.1 vs lib/micro/service/pipeline.rb in u-service-0.14.0
- old
+ new
@@ -43,10 +43,10 @@
def initial_result(arg)
return arg.call if arg_to_call?(arg)
return arg if arg.is_a?(Micro::Service::Result)
result = Micro::Service::Result.new
- result.__set__(true, arg, :ok)
+ result.__set__(true, arg, :ok, nil)
end
def arg_to_call?(arg)
return true if arg.is_a?(Micro::Service::Base) || arg.is_a?(Reducer)
return true if arg.is_a?(Class) && (arg < Micro::Service::Base || arg < Micro::Service::Pipeline)