Class: TvrageApi::Search

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

Instance Method Summary collapse

Instance Method Details

#by_name(options = {}) ⇒ Object

Search tv show by name

access: FREE param: options hash

show: TV show name

output: Faraday::Response instance with string



8
9
10
# File 'lib/tvrage_api/search.rb', line 8

def by_name(options = {})
  by_name_path_with_params(options).get
end

#by_name_url(options = {}) ⇒ Object

Search tv show by name - return only url

access: FREE param: options hash

show: TV show name

output: url string



18
19
20
# File 'lib/tvrage_api/search.rb', line 18

def by_name_url(options = {})
  by_name_path_with_params(options).url
end

#full_by_name(options = {}) ⇒ Object

Detailed Search tv show by name

access: FREE param: options hash

show: TV show name

output: Faraday::Response instance with string



28
29
30
# File 'lib/tvrage_api/search.rb', line 28

def full_by_name(options = {})
  full_by_name_path_with_params(options).get
end

#full_by_name_url(options = {}) ⇒ Object

Detailed Search tv show by name - return only url

access: FREE param: options hash

show: TV show name

output: url string



38
39
40
# File 'lib/tvrage_api/search.rb', line 38

def full_by_name_url(options = {})
  full_by_name_path_with_params(options).url
end