updated readme.md

This commit is contained in:
skubiak 2015-01-07 16:39:44 +01:00
parent 814c6132bc
commit a9b8eea2e6

View File

@ -22,7 +22,7 @@ Usage
new JPushover()
.token("MyToken")
.user("MyUser")
.message("MyPusher")
.message("MyMessage")
.push();
If you want more information and/or the response from Pushover API, use the JPushoverResponse object.
@ -30,7 +30,7 @@ If you want more information and/or the response from Pushover API, use the JPus
JPushoverResponse jPushoverResponse = new JPushover()
.token("MyToken")
.user("MyUser")
.message("MyPusher")
.message("MyMessage")
.push();
JPushoverResponse will return the raw HTTP status code, along with the raw JSON response and a convenient boolean if the request was successful or not.