Class: ThetvdbApi::Series
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #find(series_id, language = self.language) ⇒ Object
- #find_full(series_id, language = self.language) ⇒ Object
Methods inherited from Base
#api_key, #api_url, #get, #initialize, #language, #request_options, #response, #series_uri
Constructor Details
This class inherits a constructor from ThetvdbApi::Base
Instance Method Details
#find(series_id, language = self.language) ⇒ Object
2 3 4 |
# File 'lib/thetvdb_api/series.rb', line 2 def find(series_id, language = self.language) get("#{series_uri(series_id)}#{language}.xml").response end |
#find_full(series_id, language = self.language) ⇒ Object
6 7 8 |
# File 'lib/thetvdb_api/series.rb', line 6 def find_full(series_id, language = self.language) get("#{series_uri(series_id)}all/#{language}.xml").response end |