Class: ThetvdbApi::Search

Inherits:
Base
  • Object
show all
Defined in:
lib/thetvdb_api/search.rb

Instance Method Summary collapse

Methods inherited from Base

#api_key_options, #api_key_with_language_options, #language_options

Instance Method Details

#get_episode(options = {}) ⇒ Object



18
19
20
# File 'lib/thetvdb_api/search.rb', line 18

def get_episode(options = {})
  get_episode_path_with_params(options).get
end

#get_episode_url(options = {}) ⇒ Object



22
23
24
# File 'lib/thetvdb_api/search.rb', line 22

def get_episode_url(options = {})
  get_episode_path_with_params(options).url
end

#get_series(options = {}) ⇒ Object



2
3
4
# File 'lib/thetvdb_api/search.rb', line 2

def get_series(options = {})
  get_series_path_with_params(options).get
end

#get_series_by_remote_id(options = {}) ⇒ Object



10
11
12
# File 'lib/thetvdb_api/search.rb', line 10

def get_series_by_remote_id(options = {})
  get_series_by_remote_id_path_with_params(options).get
end

#get_series_by_remote_id_url(options = {}) ⇒ Object



14
15
16
# File 'lib/thetvdb_api/search.rb', line 14

def get_series_by_remote_id_url(options = {})
  get_series_by_remote_id_path_with_params(options).url
end

#get_series_url(options = {}) ⇒ Object



6
7
8
# File 'lib/thetvdb_api/search.rb', line 6

def get_series_url(options = {})
  get_series_path_with_params(options).url
end