Class: Feed::ItemBaseGenerator::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/feed/item_base_generator.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_countObject (readonly)

Returns the value of attribute item_count

Returns:

  • (Object)

    the current value of item_count



5
6
7
# File 'app/services/feed/item_base_generator.rb', line 5

def item_count
  @item_count
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



5
6
7
# File 'app/services/feed/item_base_generator.rb', line 5

def output
  @output
end

#output_file_pathObject (readonly)

Returns the value of attribute output_file_path

Returns:

  • (Object)

    the current value of output_file_path



5
6
7
# File 'app/services/feed/item_base_generator.rb', line 5

def output_file_path
  @output_file_path
end