Class: ThetvdbApi::Episode

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

Instance Method Summary collapse

Methods inherited from Base

#api_key_options, #api_key_with_language_options, #language_options

Instance Method Details

#find(options = {}) ⇒ Object



26
27
28
# File 'lib/thetvdb_api/episode.rb', line 26

def find(options = {})
  find_path_with_params(options).get
end

#find_by_absolute_order(options = {}) ⇒ Object



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

def find_by_absolute_order(options = {})
  find_by_absolute_order_path_with_params(options).get
end

#find_by_absolute_order_url(options = {}) ⇒ Object



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

def find_by_absolute_order_url(options = {})
  find_by_absolute_order_path_with_params(options).url
end

#find_by_default_order(options = {}) ⇒ Object



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

def find_by_default_order(options = {})
  find_by_order(options.merge(order: 'default'))
end

#find_by_default_order_url(options = {}) ⇒ Object



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

def find_by_default_order_url(options = {})
  find_by_order_url(options.merge(order: 'default'))
end

#find_by_dvd_order(options = {}) ⇒ Object



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

def find_by_dvd_order(options = {})
  find_by_order(options.merge(order: 'dvd'))
end

#find_by_dvd_order_url(options = {}) ⇒ Object



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

def find_by_dvd_order_url(options = {})
  find_by_order_url(options.merge(order: 'dvd'))
end

#find_url(options = {}) ⇒ Object



30
31
32
# File 'lib/thetvdb_api/episode.rb', line 30

def find_url(options = {})
  find_path_with_params(options).url
end