Class: TvrageApi::Update

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

Instance Method Summary collapse

Instance Method Details

#last(options = {}) ⇒ Object

List For Last Updated Shows

access: FREE param: options hash

hours: number of hours (optional)
sort: unfortunatelly unspecified (optional)
since: timestampe (optional)

output: Faraday::Response instance with parsed XML string



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

def last(options = {})
  last_path_with_params(options).get
end

#last_url(options = {}) ⇒ Object

List For Last Updated Shows - return only url

access: FREE param: options hash

hours: number of hours (optional)
sort: unfortunatelly unspecified (optional)
since: timestampe (optional)

output: url string



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

def last_url(options = {})
  last_path_with_params(options).url
end