Class: TvrageApi::Recap
Instance Method Summary collapse
-
#all ⇒ Object
All recaps.
-
#all_url ⇒ Object
All recaps - return only url.
-
#last(options = {}) ⇒ Object
Latest Recaps.
-
#last_url(options = {}) ⇒ Object
Latest Recaps - return only url.
-
#show(options = {}) ⇒ Object
Recaps From Selected Show.
-
#show_url(options = {}) ⇒ Object
Recaps From Selected Show - return only url.
Instance Method Details
#all ⇒ Object
All recaps
access: FREE output: Faraday::Response instance with parsed XML string
6 7 8 |
# File 'lib/tvrage_api/recap.rb', line 6 def all path(all_path).get end |
#all_url ⇒ Object
All recaps - return only url
access: FREE output: url string
14 15 16 |
# File 'lib/tvrage_api/recap.rb', line 14 def all_url path(all_path).url end |
#last(options = {}) ⇒ Object
Latest Recaps
access: FREE param: options hash
days: last x days (default 30)
output: Faraday::Response instance with parsed XML string
44 45 46 |
# File 'lib/tvrage_api/recap.rb', line 44 def last( = {}) last_path_with_params().get end |
#last_url(options = {}) ⇒ Object
Latest Recaps - return only url
access: FREE param: options hash
days: last x days (default 30)
output: url string
54 55 56 |
# File 'lib/tvrage_api/recap.rb', line 54 def last_url( = {}) last_path_with_params().url end |
#show(options = {}) ⇒ Object
Recaps From Selected Show
access: FREE param: options hash
show: TV show ID
output: Faraday::Response instance with parsed XML string
24 25 26 |
# File 'lib/tvrage_api/recap.rb', line 24 def show( = {}) show_path_with_params().get end |
#show_url(options = {}) ⇒ Object
Recaps From Selected Show - return only url
access: FREE param: options hash
show: TV show ID
output: url string
34 35 36 |
# File 'lib/tvrage_api/recap.rb', line 34 def show_url( = {}) show_path_with_params().url end |