diff options
author | Vincent Song <vincent.wsong@gmail.com> | 2016-06-10 15:20:08 -0400 |
---|---|---|
committer | Vincent Song <vincent.wsong@gmail.com> | 2016-06-10 15:20:08 -0400 |
commit | d0b5a64633025f04cdc41a84af0162559d965fbe (patch) | |
tree | 51d4e53fa9e344da514b1e782f02a4df685197c2 | |
parent | e15e8eeffefe014248ee73145e6f9321c3484153 (diff) | |
download | php-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.zip php-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.tar.gz php-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.tar.bz2 |
Minor bug fix
-rw-r--r-- | lib/SparkPost/Transmission.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/SparkPost/Transmission.php b/lib/SparkPost/Transmission.php index 805b0cb..d3cf0cb 100644 --- a/lib/SparkPost/Transmission.php +++ b/lib/SparkPost/Transmission.php @@ -2,20 +2,14 @@ namespace SparkPost; -require '../../vendor/autoload.php'; - class Transmission extends Resource { protected $endpoint = 'transmissions'; protected $customHeaders = array(); -// public function __construct(SparkPost $sparkpost) -// { -// parent::__construct($sparkpost, $endpoint); -// } - - public function __construct(){ - + public function __construct(SparkPost $sparkpost) + { + parent::__construct($sparkpost, $endpoint); } public function fixBlindCarbonCopy($payload) |