Class: Feed::Google::ReviewGenerator::Result
- Inherits:
-
Data
- Object
- Data
- Feed::Google::ReviewGenerator::Result
- 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
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#output_file_path ⇒ Object
readonly
Returns the value of attribute output_file_path.
-
#product_reviews_count ⇒ Object
readonly
Returns the value of attribute product_reviews_count.
Instance Method Summary collapse
-
#initialize(output: nil, output_file_path: nil, product_reviews_count: nil) ⇒ Result
constructor
A new instance of Result.
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
#output ⇒ Object (readonly)
Returns the value of attribute output
4 5 6 |
# File 'app/services/feed/google/review_generator.rb', line 4 def output @output end |
#output_file_path ⇒ Object (readonly)
Returns the value of attribute 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_count ⇒ Object (readonly)
Returns the value of attribute product_reviews_count
4 5 6 |
# File 'app/services/feed/google/review_generator.rb', line 4 def product_reviews_count @product_reviews_count end |