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
8
9
10
|
# File 'lib/thetvdb_api/base.rb', line 8
def api_key_options
{ apikey: @client.options[:api_key] }
end
|
#api_key_with_language_options ⇒ Object
16
17
18
|
# File 'lib/thetvdb_api/base.rb', line 16
def api_key_with_language_options
api_key_options.merge(language_options)
end
|
#language_options ⇒ Object
12
13
14
|
# File 'lib/thetvdb_api/base.rb', line 12
def language_options
{ language: @client.options[:language] }
end
|