class TvrageApi::Show

Public Instance Methods

all() click to toggle source

Full Show List

access: FREE output: Faraday::Response instance with string

# File lib/tvrage_api/show.rb, line 168
def all
  path(all_path).get
end
all_url() click to toggle source

Full Show List - return only url

access: FREE output: url string

# File lib/tvrage_api/show.rb, line 176
def all_url
  path(all_path).url
end

Private Instance Methods

all_path() click to toggle source
# File lib/tvrage_api/show.rb, line 222
def all_path
  'feeds/show_list.php'
end
episode_mapped_options(options) click to toggle source
# File lib/tvrage_api/show.rb, line 210
def episode_mapped_options(options)
  TvrageApi::AttributesMapping::Show::Episode.new(options).to_hash
end
episode_path() click to toggle source
# File lib/tvrage_api/show.rb, line 218
def episode_path
  'feeds/episodeinfo.php'
end
episode_path_with_params(options) click to toggle source
# File lib/tvrage_api/show.rb, line 214
def episode_path_with_params(options)
  path(episode_path).params(episode_mapped_options(options))
end
episodes_path() click to toggle source
# File lib/tvrage_api/show.rb, line 206
def episodes_path
  'feeds/episode_list.php'
end
episodes_path_with_params(options) click to toggle source
# File lib/tvrage_api/show.rb, line 202
def episodes_path_with_params(options)
  path(episodes_path).params(find_mapped_options(options))
end
find_full_path() click to toggle source
# File lib/tvrage_api/show.rb, line 198
def find_full_path
  'feeds/full_show_info.php'
end
find_full_path_with_params(options) click to toggle source
# File lib/tvrage_api/show.rb, line 194
def find_full_path_with_params(options)
  path(find_full_path).params(find_mapped_options(options))
end
find_mapped_options(options) click to toggle source
# File lib/tvrage_api/show.rb, line 182
def find_mapped_options(options)
  TvrageApi::AttributesMapping::Show::Find.new(options).to_hash
end
find_path() click to toggle source
# File lib/tvrage_api/show.rb, line 190
def find_path
  'feeds/showinfo.php'
end
find_path_with_params(options) click to toggle source
# File lib/tvrage_api/show.rb, line 186
def find_path_with_params(options)
  path(find_path).params(find_mapped_options(options))
end