Class: Feed::ItemBaseGenerator::Result

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

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.



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

Returns the value of attribute item_count

Returns:

  • (Object)

    the current value of item_count



3
4
5
# File 'app/services/feed/item_base_generator.rb', line 3

def item_count
  @item_count
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



3
4
5
# File 'app/services/feed/item_base_generator.rb', line 3

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



3
4
5
# File 'app/services/feed/item_base_generator.rb', line 3

def output_file_path
  @output_file_path
end