lib/where_to/locator.rb in where_to-0.9.0 vs lib/where_to/locator.rb in where_to-0.9.1
- old
+ new
@@ -32,9 +32,14 @@
raise 'A season airdate is required to locate an episode' if season_airdate == nil
raise 'A season number is required to locate an episode' if season.nil?
true
end
+ def lookup!
+ tvdb = WhereTo::TVDB.new params
+ load_values_from tvdb.lookup!
+ end
+
def params
_params = {}
_params[:series_title] = series_title
_params[:season_number] = season
_params[:episode_title] = episode_title
\ No newline at end of file