Twatter has been added, Notifications cannot be saved (yet), nor will they send, but the framework for a user to setup Twitter (Authorize NzbDrone) is in place.

This commit is contained in:
Mark McDowall 2011-10-28 00:57:00 -07:00
commit a2735d7716
27 changed files with 25605 additions and 4 deletions

View file

@ -312,6 +312,18 @@ namespace NzbDrone.Core.Providers.Core
set { SetValue("SmtpToAddresses", value); }
}
public virtual string TwitterAccessToken
{
get { return GetValue("TwitterAccessToken", String.Empty); }
set { SetValue("TwitterAccessToken", value); }
}
public virtual string TwitterAccessTokenSecret
{
get { return GetValue("TwitterAccessTokenSecret", String.Empty); }
set { SetValue("TwitterAccessTokenSecret", value); }
}
private string GetValue(string key)
{
return GetValue(key, String.Empty);