Class: Feed::ItemBaseGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Feed::ItemBaseGenerator::Result
- Defined in:
- app/services/feed/item_base_generator.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#item_count ⇒ Object
readonly
Returns the value of attribute item_count.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#output_file_path ⇒ Object
readonly
Returns the value of attribute output_file_path.
Instance Method Summary collapse
-
#initialize(output: nil, output_file_path: nil, item_count: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(output: nil, output_file_path: nil, item_count: nil) ⇒ Result
Returns a new instance of Result.
6 |
# File 'app/services/feed/item_base_generator.rb', line 6 def initialize(output: nil, output_file_path: nil, item_count: nil) = super |
Instance Attribute Details
#item_count ⇒ Object (readonly)
Returns the value of attribute item_count
5 6 7 |
# File 'app/services/feed/item_base_generator.rb', line 5 def item_count @item_count end |
#output ⇒ Object (readonly)
Returns the value of attribute output
5 6 7 |
# File 'app/services/feed/item_base_generator.rb', line 5 def output @output end |
#output_file_path ⇒ Object (readonly)
Returns the value of attribute output_file_path
5 6 7 |
# File 'app/services/feed/item_base_generator.rb', line 5 def output_file_path @output_file_path end |