indexers implementation is now separated from settings/definition

so we can have multiple newznab definitions.
This commit is contained in:
Keivan Beigi
2013-05-01 18:59:09 -07:00
parent 50fd2f77b1
commit 96990eabb3
28 changed files with 270 additions and 345 deletions
@@ -0,0 +1,18 @@
using System;
namespace NzbDrone.Core.Indexers.Newznab
{
public class NewznabSettings : IIndexerSetting
{
public String Url { get; set; }
public String ApiKey { get; set; }
public bool IsValid
{
get
{
return !string.IsNullOrWhiteSpace(Url);
}
}
}
}