lib/where_to/locator.rb in where_to-0.9.4 vs lib/where_to/locator.rb in where_to-0.9.5

- old
+ new

@@ -3,11 +3,11 @@ require 'yaml' module WhereTo class Locator attr_accessor :series_title, :airdate, :season, :season_airdate - attr_accessor :episode_title, :episode_number, :episode_quality, :episode_extension + attr_accessor :episode_title, :episode_number, :episode_quality, :episode_extension, :group def initialize(hash = {}) load_values_from hash end @@ -45,10 +45,11 @@ _params[:season_number] = season _params[:episode_title] = episode_title _params[:episode_number] = episode_number _params[:quality] = episode_quality _params[:extension] = episode_extension + _params[:group] = group _params end private @@ -63,8 +64,9 @@ set_unless_nil :season_airdate, hash[:season_airdate] set_unless_nil :episode_title, hash[:episode_title] set_unless_nil :episode_number, hash[:episode_number] set_unless_nil :episode_quality, hash[:episode_quality] set_unless_nil :episode_extension, hash[:episode_extension] + set_unless_nil :group, hash[:group] end end end \ No newline at end of file