summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost/Resource.php
diff options
context:
space:
mode:
authorVincent Song <vincent.wsong@gmail.com>2016-06-15 09:18:44 -0400
committerVincent Song <vincent.wsong@gmail.com>2016-06-15 09:18:44 -0400
commit9ef3ac964350190dc77d484e89787d5e80f8c7f9 (patch)
treefc8758b4e1e60ccf5b0d7db5738c804ea3a2f9e7 /lib/SparkPost/Resource.php
parent7f8548cf61b478df2b9172afe2a8f77448058a58 (diff)
downloadphp-sparkpost-9ef3ac964350190dc77d484e89787d5e80f8c7f9.zip
php-sparkpost-9ef3ac964350190dc77d484e89787d5e80f8c7f9.tar.gz
php-sparkpost-9ef3ac964350190dc77d484e89787d5e80f8c7f9.tar.bz2
Deleted test code, irrelevant comments, and fixed up code.
Diffstat (limited to 'lib/SparkPost/Resource.php')
-rw-r--r--lib/SparkPost/Resource.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/SparkPost/Resource.php b/lib/SparkPost/Resource.php
index 06318b7..3a2dd07 100644
--- a/lib/SparkPost/Resource.php
+++ b/lib/SparkPost/Resource.php
@@ -20,7 +20,6 @@ class Resource
public function post($payload, $header)
{
- echo "<textarea>" . json_encode($payload) . "</textarea>";
return $this->sparkpost->request('POST', $this->endpoint, $payload, $header);
}
} \ No newline at end of file