Class: NewLead::LeadActivityReassigner
- Inherits:
-
Object
- Object
- NewLead::LeadActivityReassigner
- Includes:
- Service
- Defined in:
- app/services/new_lead/lead_activity_reassigner.rb
Overview
Retypes an open lead activity while preserving its identity, target date,
notes, and assignment history.
Instance Method Summary collapse
Methods included from Service
#attributes_used, #build_result, call, #logger
Methods included from Service::Initializer
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/services/new_lead/lead_activity_reassigner.rb', line 11 def call activity.with_lock { reassign_locked(activity.reload) } end |