Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slunak authored Sep 16, 2024
1 parent 6728143 commit 67afea9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ plus its curl and json extensions. See below the `require` section of project's

## Pushing Messages

*Note: For more code examples, see [examples](examples) folder in the root of the project.*

Instantiate pushover application and recipient of the notification:

```php
Expand Down Expand Up @@ -107,9 +105,10 @@ Push it:
$response = $notification->push();
```

## Working with response
> [!TIP]
> For more code examples, see [examples](examples) folder in the root of the project.
*Note: For complete example refer to [ResponseExample.php](examples/ResponseExample.php)*
## Working with response

Client returns Response object. Checking if the message was accepted is easy:

Expand Down Expand Up @@ -146,6 +145,9 @@ $request->getCurlPostFields();
$request->getApiUrl();
```

> [!TIP]
> For complete example refer to [ResponseExample.php](examples/ResponseExample.php).
## Contributing

Contributions are very welcome. If you would like to add functionality, before starting your work,
Expand Down

0 comments on commit 67afea9

Please sign in to comment.