diff options
author | Adam Avilla <adam@avil.la> | 2016-10-06 07:21:01 -0700 |
---|---|---|
committer | Adam Avilla <adam@avil.la> | 2016-10-06 07:21:01 -0700 |
commit | acea0793fd0ea44919bc7fc9cc92f23a20196adc (patch) | |
tree | 43b0e0ffbe9e2749d956bceaa119520c84a928df | |
parent | 8c75ab08e18bc349e39582c6f8d17a9970c4a3c0 (diff) | |
download | php-sparkpost-acea0793fd0ea44919bc7fc9cc92f23a20196adc.zip php-sparkpost-acea0793fd0ea44919bc7fc9cc92f23a20196adc.tar.gz php-sparkpost-acea0793fd0ea44919bc7fc9cc92f23a20196adc.tar.bz2 |
Fixing README examples.
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -168,7 +168,6 @@ use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $httpClient = new GuzzleAdapter(new Client()); $sparky = new SparkPost($httpClient, ['key'=>'YOUR_API_KEY']); -$sparky = new SparkPost($httpClient, $options); $promise = $sparky->transmissions->post([ 'content' => [ 'from' => [ @@ -205,6 +204,7 @@ $promise = $sparky->transmissions->post([ ], ], ]); +?> ``` ### Send An API Call Using The Base Request Function @@ -226,6 +226,7 @@ $promise = $sparky->request('GET', 'metrics/ip-pools', [ 'timezone' => 'America/New_York', 'limit' => '5', ]); +?> ``` |