Skip to content

Commit

Permalink
dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
pjurewicz committed Apr 30, 2024
1 parent f761b0a commit 1b11158
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ecommerce/processes/lib/processes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ def build_pricing_offer_from_ordering_items(event_store, command_bus)
Pricing::RemovePriceItem, [:order_id, :product_id])
end

def recalculate_pricing_offer_on_order_placed(event_store, command_bus)
Infra::Process.new(event_store, command_bus)
.call(Ordering::OrderPlaced, [:order_id],
Pricing::CalculateTotalValue, [:order_id])

Infra::Process.new(event_store, command_bus)
.call(Ordering::OrderPlaced, [:order_id],
Pricing::CalculateSubAmounts, [:order_id])
end

def enable_shipment_sync(event_store, command_bus)
SyncShipmentFromOrdering.new(event_store, command_bus)
end
Expand Down

0 comments on commit 1b11158

Please sign in to comment.