Class: ThetvdbApi::Update
- Inherits:
-
Base
- Object
- Base
- ThetvdbApi::Update
show all
- Defined in:
- lib/thetvdb_api/update.rb
Instance Attribute Summary
Attributes inherited from Base
#client, #options, #uri
Instance Method Summary
collapse
Methods inherited from Base
#api_key, #api_url, #get, #initialize, #language, #request_options, #response, #series_uri
Instance Method Details
#all ⇒ Object
14
15
16
|
# File 'lib/thetvdb_api/update.rb', line 14
def all
get("#{api_key}/updates/updates_all.xml").response
end
|
#day ⇒ Object
2
3
4
|
# File 'lib/thetvdb_api/update.rb', line 2
def day
get("#{api_key}/updates/updates_day.xml").response
end
|
#month ⇒ Object
10
11
12
|
# File 'lib/thetvdb_api/update.rb', line 10
def month
get("#{api_key}/updates/updates_month.xml").response
end
|
#week ⇒ Object
6
7
8
|
# File 'lib/thetvdb_api/update.rb', line 6
def week
get("#{api_key}/updates/updates_week.xml").response
end
|