diff options
Diffstat (limited to 'examples/transmission/get_all_transmissions.php')
-rw-r--r-- | examples/transmission/get_all_transmissions.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/examples/transmission/get_all_transmissions.php b/examples/transmission/get_all_transmissions.php index 1425e65..754a6fc 100644 --- a/examples/transmission/get_all_transmissions.php +++ b/examples/transmission/get_all_transmissions.php @@ -1,17 +1,17 @@ <?php namespace Examples\Transmisson; - require_once (dirname(__FILE__).'/../bootstrap.php'); - - use MessageSystems\SparkPost; - use MessageSystems\Transmission; - - $key = 'YOURAPIKEY'; - SparkPost::setConfig(['key'=>$key]); - - try { - $results = Transmission::all(); - echo 'Congrats you can use your SDK!'; - } catch (\Exception $exception) { - echo $exception->getMessage(); - } +require_once (dirname(__FILE__).'/../bootstrap.php'); + +use MessageSystems\SparkPost; +use MessageSystems\Transmission; + +$key = 'YOURAPIKEY'; +SparkPost::setConfig(['key'=>$key]); + +try { + $results = Transmission::all(); + echo 'Congrats you can use your SDK!'; +} catch (\Exception $exception) { + echo $exception->getMessage(); +} ?>
\ No newline at end of file |