Class: OpportunityBriefing::EngagementSnapshot::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/opportunity_briefing/engagement_snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(participants: [], activities: [], communications: [], call_records: [], orders: [], counts: {}) ⇒ Result

Returns a new instance of Result.



24
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 24

def initialize(participants: [], activities: [], communications: [], call_records: [], orders: [], counts: {}) = super

Instance Attribute Details

#activitiesObject (readonly)

Returns the value of attribute activities

Returns:

  • (Object)

    the current value of activities



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def activities
  @activities
end

#call_recordsObject (readonly)

Returns the value of attribute call_records

Returns:

  • (Object)

    the current value of call_records



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def call_records
  @call_records
end

#communicationsObject (readonly)

Returns the value of attribute communications

Returns:

  • (Object)

    the current value of communications



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def communications
  @communications
end

#countsObject (readonly)

Returns the value of attribute counts

Returns:

  • (Object)

    the current value of counts



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def counts
  @counts
end

#ordersObject (readonly)

Returns the value of attribute orders

Returns:

  • (Object)

    the current value of orders



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def orders
  @orders
end

#participantsObject (readonly)

Returns the value of attribute participants

Returns:

  • (Object)

    the current value of participants



16
17
18
# File 'app/services/opportunity_briefing/engagement_snapshot.rb', line 16

def participants
  @participants
end