Class: NewLead::ActivityAgendaReconciler::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/new_lead/activity_agenda_reconciler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: :not_applicable, reassigned_activity_ids: [], unchanged_activity_ids: [], unrouted_activity_ids: []) ⇒ Result

Returns a new instance of Result.



20
21
22
23
# File 'app/services/new_lead/activity_agenda_reconciler.rb', line 20

def initialize(status: :not_applicable, reassigned_activity_ids: [],
               unchanged_activity_ids: [], unrouted_activity_ids: [])
  super
end

Instance Attribute Details

#reassigned_activity_idsObject (readonly)

Returns the value of attribute reassigned_activity_ids

Returns:

  • (Object)

    the current value of reassigned_activity_ids



14
15
16
# File 'app/services/new_lead/activity_agenda_reconciler.rb', line 14

def reassigned_activity_ids
  @reassigned_activity_ids
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'app/services/new_lead/activity_agenda_reconciler.rb', line 14

def status
  @status
end

#unchanged_activity_idsObject (readonly)

Returns the value of attribute unchanged_activity_ids

Returns:

  • (Object)

    the current value of unchanged_activity_ids



14
15
16
# File 'app/services/new_lead/activity_agenda_reconciler.rb', line 14

def unchanged_activity_ids
  @unchanged_activity_ids
end

#unrouted_activity_idsObject (readonly)

Returns the value of attribute unrouted_activity_ids

Returns:

  • (Object)

    the current value of unrouted_activity_ids



14
15
16
# File 'app/services/new_lead/activity_agenda_reconciler.rb', line 14

def unrouted_activity_ids
  @unrouted_activity_ids
end