Sha256: e5b36c193625a880dc73b14098b7c46eff55d0520aa2b6b8adf4d5734dd414ef
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
class CommandTwo include SimpleService command :combine_foo_bar def combine_foo_bar(modified_foo:, modified_bar:, command_two_success:) combined_foo_bar = "combined #{modified_foo} #{modified_bar}" if command_two_success success(combined_foo_bar: combined_foo_bar) else failure(message: 'stuff went wrong with command two') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_service-2.1.0 | spec/support/command_two.rb |