Class: OpportunityBriefing::OutletPurchaseSnapshot::Result
- Inherits:
-
Data
- Object
- Data
- OpportunityBriefing::OutletPurchaseSnapshot::Result
- Defined in:
- app/services/opportunity_briefing/outlet_purchase_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.
28 |
# File 'app/services/opportunity_briefing/outlet_purchase_snapshot.rb', line 28 def initialize(items: [], count: nil) = super |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count
27 28 29 |
# File 'app/services/opportunity_briefing/outlet_purchase_snapshot.rb', line 27 def count @count end |
#items ⇒ Object (readonly)
Returns the value of attribute items
27 28 29 |
# File 'app/services/opportunity_briefing/outlet_purchase_snapshot.rb', line 27 def items @items end |