Class: TedApi::Client
- Inherits:
-
Object
- Object
- TedApi::Client
- 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
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Tags
Methods included from Countries
Methods included from Themes
Methods included from Speakers
Methods included from RatingWords
Methods included from Quotes
Methods included from Languages
Methods included from Events
Methods included from Talks
#speakers_by_talk, #subtitles, #talks
Methods included from Request
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(={}) = TedApi..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |