Module: TMDb
- Defined in:
- lib/tmdb-api.rb,
lib/tmdb-api/base.rb,
lib/tmdb-api/genre.rb,
lib/tmdb-api/movie.rb,
lib/tmdb-api/person.rb,
lib/tmdb-api/changes.rb,
lib/tmdb-api/version.rb,
lib/tmdb-api/known_for.rb,
lib/tmdb-api/searchable.rb,
lib/tmdb-api/spoken_language.rb,
lib/tmdb-api/production_company.rb,
lib/tmdb-api/production_country.rb
Defined Under Namespace
Modules: Searchable Classes: Base, Changes, Genre, KnownFor, Movie, Person, ProductionCompany, ProductionCountry, SpokenLanguage
Constant Summary collapse
- VERSION =
'0.0.9'
Class Attribute Summary collapse
- .api_key ⇒ Object
-
.default_language ⇒ Object
Set the default language of the fetched data.
Class Attribute Details
.api_key ⇒ Object
27 28 29 |
# File 'lib/tmdb-api.rb', line 27 def api_key @api_key || ENV['TMDB_API_KEY'] end |
.default_language ⇒ Object
Set the default language of the fetched data.
32 33 34 |
# File 'lib/tmdb-api.rb', line 32 def default_language @default_language end |