Class: TvrageApi::Info
Instance Method Summary collapse
-
#find(options = {}) ⇒ Object
Quick information about tv show.
-
#find_url(options = {}) ⇒ Object
Quick information about tv show - return only url.
Instance Method Details
#find(options = {}) ⇒ Object
Quick information about tv show
access: FREE param: options hash
show: TV show name
ep: episode name, format [Season Number]x[Episode Number, with zero at the beginning for 1-9] (optional)
exact: 1, Only shows that match exactly will be given.
output: Faraday::Response instance with string
10 11 12 |
# File 'lib/tvrage_api/info.rb', line 10 def find( = {}) find_path_with_params().get end |
#find_url(options = {}) ⇒ Object
Quick information about tv show - return only url
access: FREE param: options hash
show: TV show name
ep: episode name, format [Season Number]x[Episode Number, with zero at the beginning for 1-9] (optional)
exact: 1, Only shows that match exactly will be given.
output: url string
22 23 24 |
# File 'lib/tvrage_api/info.rb', line 22 def find_url( = {}) find_path_with_params().url end |