summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Song <vincent.wsong@gmail.com>2016-06-10 15:20:08 -0400
committerVincent Song <vincent.wsong@gmail.com>2016-06-10 15:20:08 -0400
commitd0b5a64633025f04cdc41a84af0162559d965fbe (patch)
tree51d4e53fa9e344da514b1e782f02a4df685197c2
parente15e8eeffefe014248ee73145e6f9321c3484153 (diff)
downloadphp-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.zip
php-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.tar.gz
php-sparkpost-d0b5a64633025f04cdc41a84af0162559d965fbe.tar.bz2
Minor bug fix
-rw-r--r--lib/SparkPost/Transmission.php12
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)