Module: TedApi::Client::Speakers

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

Instance Method Summary collapse

Instance Method Details

#speakers(speaker = nil, options = {}, raw = false) ⇒ Object



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

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