diff options
author | Avi Goldman <avrahamymgoldman@gmail.com> | 2016-06-23 09:43:56 -0400 |
---|---|---|
committer | Avi Goldman <avrahamymgoldman@gmail.com> | 2016-06-23 09:43:56 -0400 |
commit | f79318aeea95c0ce7fb8d5ef376a2b0b97f3c140 (patch) | |
tree | 60c4073730c4870404717d2ed3b152bc899371c1 /lib/SparkPost/Resource.php | |
parent | fda0a912a79ef6a7e5ea95123bd305fb712f80db (diff) | |
download | php-sparkpost-f79318aeea95c0ce7fb8d5ef376a2b0b97f3c140.zip php-sparkpost-f79318aeea95c0ce7fb8d5ef376a2b0b97f3c140.tar.gz php-sparkpost-f79318aeea95c0ce7fb8d5ef376a2b0b97f3c140.tar.bz2 |
fixed examples, and small details
Diffstat (limited to 'lib/SparkPost/Resource.php')
-rw-r--r-- | lib/SparkPost/Resource.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SparkPost/Resource.php b/lib/SparkPost/Resource.php index 7fab937..7c88743 100644 --- a/lib/SparkPost/Resource.php +++ b/lib/SparkPost/Resource.php @@ -17,7 +17,7 @@ class Resource /** * Sets up the Resource. * - * @param SparKPost $sparkpost - the sparkpost instance that this resource is attached to + * @param SparkPost $sparkpost - the sparkpost instance that this resource is attached to * @param string $endpoint - the endpoint that this resource wraps */ public function __construct(SparkPost $sparkpost, $endpoint) @@ -82,7 +82,7 @@ class Resource } $uri = $this->endpoint.'/'.$uri; - + return $this->sparkpost->request($method, $uri, $payload, $headers); } } |