Class: OpportunityBriefing::CallSnapshot::Result
- Inherits:
-
Data
- Object
- Data
- OpportunityBriefing::CallSnapshot::Result
- Defined in:
- app/services/opportunity_briefing/call_snapshot.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize(items: [], count: nil) ⇒ Result
constructor
A new instance of Result.
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
#count ⇒ Object (readonly)
Returns the value of attribute count
13 14 15 |
# File 'app/services/opportunity_briefing/call_snapshot.rb', line 13 def count @count end |
#items ⇒ Object (readonly)
Returns the value of attribute items
13 14 15 |
# File 'app/services/opportunity_briefing/call_snapshot.rb', line 13 def items @items end |