From 438ff86ad87fa045fcc8f845ec5660f9fb2daea6 Mon Sep 17 00:00:00 2001 From: skubiak Date: Fri, 9 Jan 2015 08:32:32 +0100 Subject: [PATCH] updated readme.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3ccf7d0..fa02c11 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,13 @@ Usage .push(); You can additionally add all available options from the official [Pushover documentation][2] + +You can also validate a user and token using the following method + + boolean valid = new JPushover() + .token("MyToken") + .user("MyUser") + .validate(); If you want more information and/or the response from the Pushover API, use the JPushoverResponse object.