Sha256: dc0916937ffd671e3e15af9e87267bdbb8a6671ef9a22112af5c1677ea5361e0

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

class CombineFooBar
  include SimpleService

  def call(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

4 entries across 4 versions & 1 rubygems

Version Path
simple_service-2.1.6 spec/support/combine_foo_bar.rb
simple_service-2.1.5 spec/support/combine_foo_bar.rb
simple_service-2.1.4 spec/support/combine_foo_bar.rb
simple_service-2.1.3 spec/support/combine_foo_bar.rb