Skip to content

Commit

Permalink
missing event_store handle
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszreszke committed Aug 2, 2024
1 parent 78ef10f commit b7d2f53
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def call(event)

private

def event_store
Rails.configuration.event_store
end

def zero_quantity?(item)
item.nil? || item.product_quantity.zero?
end
Expand Down

0 comments on commit b7d2f53

Please sign in to comment.