Class: Feed::ItemBaseGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Feed::ItemBaseGenerator::Result
- Defined in:
- app/services/feed/item_base_generator.rb
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.
4 |
# File 'app/services/feed/item_base_generator.rb', line 4 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
3 4 5 |
# File 'app/services/feed/item_base_generator.rb', line 3 def item_count @item_count end |
#output ⇒ Object (readonly)
Returns the value of attribute output
3 4 5 |
# File 'app/services/feed/item_base_generator.rb', line 3 def output @output end |
#output_file_path ⇒ Object (readonly)
Returns the value of attribute output_file_path
3 4 5 |
# File 'app/services/feed/item_base_generator.rb', line 3 def output_file_path @output_file_path end |