Class: TedApi::Client

Inherits:
Object
  • Object
show all
Includes:
Countries, Events, Languages, Quotes, RatingWords, Speakers, Tags, Talks, Themes, Connection, Request
Defined in:
lib/ted_api/client.rb,
lib/ted_api/client/tags.rb,
lib/ted_api/client/talks.rb,
lib/ted_api/client/events.rb,
lib/ted_api/client/quotes.rb,
lib/ted_api/client/themes.rb,
lib/ted_api/client/speakers.rb,
lib/ted_api/client/countries.rb,
lib/ted_api/client/languages.rb,
lib/ted_api/client/rating_words.rb

Defined Under Namespace

Modules: Countries, Events, Languages, Quotes, RatingWords, Speakers, Tags, Talks, Themes

Instance Method Summary collapse

Methods included from Tags

#tags

Methods included from Countries

#countries

Methods included from Themes

#themes

Methods included from Speakers

#speakers

Methods included from RatingWords

#rating_words

Methods included from Quotes

#quotes

Methods included from Languages

#languages

Methods included from Events

#events

Methods included from Talks

#speakers_by_talk, #subtitles, #talks

Methods included from Request

#get

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



19
20
21
22
23
24
# File 'lib/ted_api/client.rb', line 19

def initialize(options={})
  options = TedApi.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end