Class: ThetvdbApi::Update

Inherits:
Base
  • Object
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

Constructor Details

This class inherits a constructor from ThetvdbApi::Base

Instance Method Details

#allObject



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

def all
  get("#{api_key}/updates/updates_all.xml").response
end

#dayObject



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

def day
  get("#{api_key}/updates/updates_day.xml").response
end

#monthObject



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

def month
  get("#{api_key}/updates/updates_month.xml").response
end

#weekObject



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

def week
  get("#{api_key}/updates/updates_week.xml").response
end