summaryrefslogtreecommitdiffstats
path: root/examples/unwrapped/get_webhooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/unwrapped/get_webhooks.php')
-rw-r--r--examples/unwrapped/get_webhooks.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/unwrapped/get_webhooks.php b/examples/unwrapped/get_webhooks.php
index b9ed723..a71cb3f 100644
--- a/examples/unwrapped/get_webhooks.php
+++ b/examples/unwrapped/get_webhooks.php
@@ -14,12 +14,12 @@ $httpAdapter = new Guzzle6HttpAdapter(new Client());
$sparky = new SparkPost($httpAdapter, ['key'=>$config['api-key']]);
try {
- $sparky->setupUnwrapped('webhooks');
+ $sparky->setupUnwrapped('webhooks');
- $results = $sparky->webhooks->get();
+ $results = $sparky->webhooks->get();
- echo 'Congrats you can use your SDK!';
+ echo 'Congrats! You got a list of all your webhooks from SparkPost!';
} catch (\Exception $exception) {
- echo $exception->getMessage();
+ echo $exception->getMessage();
}
?>