New: PushBullet to all devices (leave device id blank)

This commit is contained in:
Mark McDowall 2014-04-02 17:17:38 -07:00
parent 9edb261c16
commit 48a92696e9
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ namespace NzbDrone.Core.Notifications.PushBullet
public PushBulletSettingsValidator()
{
RuleFor(c => c.ApiKey).NotEmpty();
RuleFor(c => c.DeviceId).NotEmpty();
}
}
@ -22,7 +21,7 @@ namespace NzbDrone.Core.Notifications.PushBullet
[FieldDefinition(0, Label = "API Key", HelpLink = "https://www.pushbullet.com/")]
public String ApiKey { get; set; }
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com")]
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com (leave blank to send to all devices)")]
public String DeviceId { get; set; }
public bool IsValid