class ThetvdbApi::Base
Public Instance Methods
api_key_options()
click to toggle source
# File lib/thetvdb_api/base.rb, line 6 def api_key_options { apikey: @config[:api_key] } end
api_key_with_language_options()
click to toggle source
# File lib/thetvdb_api/base.rb, line 14 def api_key_with_language_options api_key_options.merge(language_options) end
language_options()
click to toggle source
# File lib/thetvdb_api/base.rb, line 10 def language_options { language: @config[:language] } end
Private Instance Methods
base_url()
click to toggle source
# File lib/thetvdb_api/base.rb, line 24 def base_url 'http://thetvdb.com/api/' end
uri_kind()
click to toggle source
# File lib/thetvdb_api/base.rb, line 20 def uri_kind :colon end