module Unloq::Ratings

Public Instance Methods

lookup_author_ratings(author) click to toggle source

Fetch the ratings for an author

@param author [Unloq::Entity] The author for which you want to retrieve ratings

# File lib/unloq/ratings.rb, line 8
def lookup_author_ratings author
  validate_author(author)

  get('/ratings', "/#{author.id}")
end