Class: ThetvdbApi::Base
- Inherits:
-
Object
show all
- Includes:
- ServiceApi::BaseFaraday
- Defined in:
- lib/thetvdb_api/base.rb
Instance Method Summary
collapse
Instance Method Details
#api_key_options ⇒ Object
6
7
8
|
# File 'lib/thetvdb_api/base.rb', line 6
def api_key_options
{ apikey: @config[:api_key] }
end
|
#api_key_with_language_options ⇒ Object
14
15
16
|
# File 'lib/thetvdb_api/base.rb', line 14
def api_key_with_language_options
api_key_options.merge(language_options)
end
|
#language_options ⇒ Object
10
11
12
|
# File 'lib/thetvdb_api/base.rb', line 10
def language_options
{ language: @config[:language] }
end
|