class TvrageApi::Recap

Public Instance Methods

all() click to toggle source

All recaps

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

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

All recaps - return only url

access: FREE output: url string

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

Private Instance Methods

all_path() click to toggle source
# File lib/tvrage_api/recap.rb, line 102
def all_path
  'recaps/all_recaps.php'
end
last_path() click to toggle source
# File lib/tvrage_api/recap.rb, line 122
def last_path
  'recaps/last_recaps.php'
end
last_path_with_params(options) click to toggle source
# File lib/tvrage_api/recap.rb, line 118
def last_path_with_params(options)
  path(last_path).params(options)
end
show_mapped_options(options) click to toggle source
# File lib/tvrage_api/recap.rb, line 110
def show_mapped_options(options)
  TvrageApi::AttributesMapping::Recap::Show.new(options).to_hash
end
show_path() click to toggle source
# File lib/tvrage_api/recap.rb, line 114
def show_path
  'recaps/show_recaps.php'
end
show_path_with_params(options) click to toggle source
# File lib/tvrage_api/recap.rb, line 106
def show_path_with_params(options)
  path(show_path).params(show_mapped_options(options))
end