Class: Feed::Google::ReviewGenerator::Result

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

Overview

Deprecated: Reviews have been migrated to Reviews.io
This generator now returns an empty feed for backwards compatibility

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output: nil, output_file_path: nil, product_reviews_count: nil) ⇒ Result

Returns a new instance of Result.



5
# File 'app/services/feed/google/review_generator.rb', line 5

def initialize(output: nil, output_file_path: nil, product_reviews_count: nil) = super

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



4
5
6
# File 'app/services/feed/google/review_generator.rb', line 4

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



4
5
6
# File 'app/services/feed/google/review_generator.rb', line 4

def output_file_path
  @output_file_path
end

#product_reviews_countObject (readonly)

Returns the value of attribute product_reviews_count

Returns:

  • (Object)

    the current value of product_reviews_count



4
5
6
# File 'app/services/feed/google/review_generator.rb', line 4

def product_reviews_count
  @product_reviews_count
end