Update README.md
This commit is contained in:
parent
20c8068cd3
commit
dd6678fd66
16
README.md
16
README.md
@ -12,19 +12,19 @@ Usage
|
|||||||
|
|
||||||
1) Add the jpushover dependency to your pom.xml:
|
1) Add the jpushover dependency to your pom.xml:
|
||||||
```
|
```
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>de.svenkubiak</groupId>
|
<groupId>de.svenkubiak</groupId>
|
||||||
<artifactId>jpushover</artifactId>
|
<artifactId>jpushover</artifactId>
|
||||||
<version>x.x.x</version>
|
<version>x.x.x</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
2) Use the JPushover object with the required informations were you want
|
2) Use the JPushover object with the required informations were you want
|
||||||
```
|
```
|
||||||
JPushover.build()
|
JPushover.build()
|
||||||
.withToken("MyToken")
|
.withToken("MyToken")
|
||||||
.withUser("MyUser")
|
.withUser("MyUser")
|
||||||
.withMessage("MyMessage")
|
.withMessage("MyMessage")
|
||||||
.push();
|
.push();
|
||||||
```
|
```
|
||||||
You can additionally add all available options from the official [Pushover documentation][2]
|
You can additionally add all available options from the official [Pushover documentation][2]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user