Class: ThetvdbApi::Actor

Inherits:
Base
  • Object
show all
Defined in:
lib/thetvdb_api/actor.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

Return all of the series actors.

access: FREE param: options hash

series_id: TV series name

output: XML string (example: thetvdb.com/wiki/index.php/API:actors.xml)



8
9
10
# File 'lib/thetvdb_api/actor.rb', line 8

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

#find_url(options = {}) ⇒ Object

Return all of the series actors - return only url.

access: FREE param: options hash

series_id: TV series name

output: url string



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

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