Sha256: 5dcc51b739cc5606b525873c0a52547aed0eea68bd85be694f4ac05adeb60712
Contents?: true
Size: 505 Bytes
Versions: 3
Compression:
Stored size: 505 Bytes
Contents
class Dummy1Interactor include Interactor DUMMYVAR = 'testmedummy1' def perform if context[:should_fail] context.fail! else context[:dummy1] = DUMMYVAR end end end class Dummy2Interactor include Interactor DUMMYVAR = 'testmedummy2' def perform if context[:should_fail] context.fail! else context[:dummy2] = DUMMYVAR end end end class DummyOrganizer include Interactor::Organizer organize Dummy1Interactor, Dummy2Interactor end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
interactor-copy_context-0.0.3 | spec/support/dummy_organizer.rb |
interactor-copy_context-0.0.2 | spec/support/dummy_organizer.rb |
interactor-copy_context-0.0.1 | spec/support/dummy_organizer.rb |