diff options
author | nornholdj <nornholdj@gmail.com> | 2014-10-30 16:02:53 -0400 |
---|---|---|
committer | nornholdj <nornholdj@gmail.com> | 2014-10-30 16:02:53 -0400 |
commit | 68332a6b86a6888adb74533f40b7355b254c4cc8 (patch) | |
tree | 69fae55bfb3b8635bd89f15c06c2260b89a06248 /lib/MessageSystems/SendGridCompatibility/SDK.php | |
parent | 02c1073edad6572e1c88c8649b4a219762340b49 (diff) | |
download | php-sparkpost-68332a6b86a6888adb74533f40b7355b254c4cc8.zip php-sparkpost-68332a6b86a6888adb74533f40b7355b254c4cc8.tar.gz php-sparkpost-68332a6b86a6888adb74533f40b7355b254c4cc8.tar.bz2 |
MA-946 #time 3h 30m Removed Compatibility layer code and finished
Documentation.
Diffstat (limited to 'lib/MessageSystems/SendGridCompatibility/SDK.php')
-rw-r--r-- | lib/MessageSystems/SendGridCompatibility/SDK.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/MessageSystems/SendGridCompatibility/SDK.php b/lib/MessageSystems/SendGridCompatibility/SDK.php deleted file mode 100644 index f1a4df3..0000000 --- a/lib/MessageSystems/SendGridCompatibility/SDK.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -namespace MessageSystems\SendGridCompatibility; - -use MessageSystems\Transmission; -use MessageSystems\SendGridCompatibility\Email; -use MessageSystems\Configuration; - -class SDK{ - private $sparkPost; - - public function __construct($username, $password, $options = null) { - //username isn't used in our system - $opts = ['key'=>$password]; - if (!is_null($options)) { - $opts = array_merge($opts, $options); - } - Configuration::setConfig($opts); - } - - public function send(Email $email) { - $email->send(); - } -} -?>
\ No newline at end of file |