Sha256: 4f0edb78ad0f78c3d94505d0232ed4ab9315a40adff0bda30b7a5c5107d36a39
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
class MultipleOutcomeCalls include SimpleService commands :command_one, :command_two, def command_one(**kwargs) success(kwargs.merge(foo: kwargs[:foo].capitalize)) success(kwargs.merge(foo: kwargs[:foo].upcase)) end def command_two(**kwargs) success(bar: kwargs[:bar].capitalize) success(foo: kwargs[:foo].upcase, bar: kwargs[:bar].upcase) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_service-2.1.6 | spec/support/multiple_outcome_calls.rb |
simple_service-2.1.5 | spec/support/multiple_outcome_calls.rb |