module Sentimeta::Client::UserReviews
Public Instance Methods
create(options)
click to toggle source
# File lib/sentimeta/client/user_reviews.rb, line 15 def create options id = options.delete(:id) post "#{Sentimeta.sphere}/#{id}", options end
find(options)
click to toggle source
# File lib/sentimeta/client/user_reviews.rb, line 7 def find options id = options.delete(:id) criterion = options.delete(:criterion) path = "#{Sentimeta.sphere}/#{id}" path += "/#{criterion}" if criterion fetch path, options end