Module: TedApi::Client::Talks
- Included in:
- TedApi::Client
- Defined in:
- lib/ted_api/client/talks.rb
Instance Method Summary collapse
- #speakers_by_talk(talk, options = {}, raw = false) ⇒ Object
- #subtitles(talk, options = {}, raw = false) ⇒ Object
- #talks(talk = nil, options = {}, raw = false) ⇒ Object
Instance Method Details
#speakers_by_talk(talk, options = {}, raw = false) ⇒ Object
20 21 22 |
# File 'lib/ted_api/client/talks.rb', line 20 def speakers_by_talk(talk, ={}, raw=false) get("talks/#{talk}/speakers", , raw) end |
#subtitles(talk, options = {}, raw = false) ⇒ Object
16 17 18 |
# File 'lib/ted_api/client/talks.rb', line 16 def subtitles(talk, ={}, raw=false) get("talks/#{talk}/subtitles", , raw) end |
#talks(talk = nil, options = {}, raw = false) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/ted_api/client/talks.rb', line 8 def talks(talk=nil, ={}, raw=false) if talk.nil? get('talks', , raw) else get("talks/#{talk}", , raw) end end |