Module: TedApi::Client::RatingWords

Included in:
TedApi::Client
Defined in:
lib/ted_api/client/rating_words.rb

Instance Method Summary collapse

Instance Method Details

#rating_words(rating_word = nil, options = {}, raw = false) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/ted_api/client/rating_words.rb', line 8

def rating_words(rating_word=nil, options={}, raw=false)
  if rating_word.nil?
    get('rating_words', options, raw)
  else
    get("rating_words/#{rating_word}", options, raw)
  end
end