Sha256: 56a3cafd98d04a3a3123d6c9d4981111691669cec45d57131bb12d7923fbde60

Contents?: true

Size: 176 Bytes

Versions: 3

Compression:

Stored size: 176 Bytes

Contents

class DummyInteractor
  include Interactor

  def perform
    if context[:should_fail]
      context.fail!
    else
      context[:custom_var_1] = 'testme'
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
interactor-copy_context-0.0.3 spec/support/dummy_interactor.rb
interactor-copy_context-0.0.2 spec/support/dummy_interactor.rb
interactor-copy_context-0.0.1 spec/support/dummy_interactor.rb