class Revieto::Account

Public Instance Methods

aggregate_rating() click to toggle source
# File lib/revieto/account.rb, line 10
def aggregate_rating
  response = JSON.parse(get_api_rating.body)

  response['aggregate_rating']
end
name() click to toggle source
# File lib/revieto/account.rb, line 4
def name
  response = JSON.parse(get_api_rating.body)

  response['account_name']
end
rating_count() click to toggle source
# File lib/revieto/account.rb, line 16
def rating_count
  response = JSON.parse(get_api_rating.body)

  response['rating_count']
end