lib/eco/api/usecases/use_case_io.rb in eco-helpers-0.8.4 vs lib/eco/api/usecases/use_case_io.rb in eco-helpers-0.9.1

- old
+ new

@@ -54,10 +54,10 @@ session ||= @session kargs = {} kargs.merge!(input: input) if input_required? kargs.merge!(people: people) if people_required? - kargs.merge!(session: session, options: opts) + kargs.merge!(session: session, options: opts, usecase: usecase) keyed ? kargs : kargs.values end def chain(usecase:) raise "It should be a UseCase. Given: #{usecase}" if !usecase.is_a?(UseCase)