Module: TedApi::Client::Languages

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

Instance Method Summary collapse

Instance Method Details

#languages(language = nil, options = {}, raw = false) ⇒ Object



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

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