Class: Quote::QuoteCompletedHandler
- Inherits:
-
Object
- Object
- Quote::QuoteCompletedHandler
- Defined in:
- app/subscribers/quote/quote_completed_handler.rb
Instance Method Summary collapse
Instance Method Details
#call(event) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/subscribers/quote/quote_completed_handler.rb', line 4 def call(event) quote = Quote.find(event.data[:quote_id]) quote.schedule_follow_up quote.customer.recalculate_profiling_information assign_drip_campaigns(quote) Quote::AssignLargeOppActivity.new.process(quote) mark_rooms_complete(quote) end |