class ReviewsCatcher::Reviews
Public Instance Methods
aggregate_rating()
click to toggle source
# File lib/reviews_catcher/reviews.rb, line 10 def aggregate_rating response = JSON.parse(get_api_reviews.body) response['aggregate_rating'] end
all()
click to toggle source
# File lib/reviews_catcher/reviews.rb, line 22 def all response = JSON.parse(get_api_reviews.body) response['reviews'] end
name()
click to toggle source
# File lib/reviews_catcher/reviews.rb, line 4 def name response = JSON.parse(get_api_reviews.body) response['account_name'] end
rating_count()
click to toggle source
# File lib/reviews_catcher/reviews.rb, line 16 def rating_count response = JSON.parse(get_api_reviews.body) response['rating_count'] end