Class: TmdbEasy::Base
- Inherits:
-
Object
- Object
- TmdbEasy::Base
- Defined in:
- lib/tmdb-easy/base.rb
Constant Summary collapse
- @@api_key =
""
Class Method Summary collapse
Class Method Details
.api_key ⇒ Object
5 6 7 |
# File 'lib/tmdb-easy/base.rb', line 5 def self.api_key @@api_key end |
.api_key=(api_key) ⇒ Object
9 10 11 |
# File 'lib/tmdb-easy/base.rb', line 9 def self.api_key=(api_key) @@api_key = api_key end |
.base_api_url ⇒ Object
13 14 15 |
# File 'lib/tmdb-easy/base.rb', line 13 def self.base_api_url 'http://api.themoviedb.org/3/' end |