Class: OpportunityBriefing::CallSnapshot::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items: [], count: nil) ⇒ Result

Returns a new instance of Result.



14
# File 'app/services/opportunity_briefing/call_snapshot.rb', line 14

def initialize(items: [], count: nil) = super

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



13
14
15
# File 'app/services/opportunity_briefing/call_snapshot.rb', line 13

def count
  @count
end

#itemsObject (readonly)

Returns the value of attribute items

Returns:

  • (Object)

    the current value of items



13
14
15
# File 'app/services/opportunity_briefing/call_snapshot.rb', line 13

def items
  @items
end