Skip to content

Commit 784418b

Browse files
Dont use the class level pattern for processes neither.
1 parent 092e7d2 commit 784418b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

rails_application/app/processes/processes/configuration.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
module Processes
22
class Configuration
3-
class << self
4-
attr_accessor :event_store, :command_bus
5-
end
63

74
def call(event_store, command_bus)
8-
self.class.event_store = event_store
9-
self.class.command_bus = command_bus
105
enable_coupon_discount_process(event_store, command_bus)
116
notify_payments_about_order_total_value(event_store, command_bus)
127
enable_shipment_sync(event_store, command_bus)

0 commit comments

Comments
 (0)