Class: ThetvdbApi::Update

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

Instance Method Summary collapse

Methods inherited from Base

#api_key, #connection, #get, #initialize, #language, #params, #prepare_uri, #response, #restful_param_keys, #series_uri, #uri, #url

Constructor Details

This class inherits a constructor from ThetvdbApi::Base

Instance Method Details

#all(options = {}) ⇒ Object



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

def all(options = {})
  get(all_path).params(options).response
end

#all_urlObject



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

def all_url
  get(all_path).url
end

#day(options = {}) ⇒ Object



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

def day(options = {})
  get(day_path).params(options).response
end

#day_urlObject



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

def day_url
  get(day_path).url
end

#month(options = {}) ⇒ Object



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

def month(options = {})
  get(month_path).params(options).response
end

#month_urlObject



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

def month_url
  get(month_path).url
end

#week(options = {}) ⇒ Object



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

def week(options = {})
  get(week_path).params(options).response
end

#week_urlObject



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

def week_url
  get(week_path).url
end