diff options
author | Rich Leland <rich.leland@messagesystems.com> | 2016-06-29 18:07:20 -0400 |
---|---|---|
committer | Rich Leland <rich.leland@messagesystems.com> | 2016-06-29 18:07:20 -0400 |
commit | f0ef950117a7e8162f0b2875cb3b071be389d8d4 (patch) | |
tree | 5134e4f353046e65bf6323ccd27caa800d4976fe /lib/SparkPost | |
parent | 40558e0f33585e79f72be298201df7cb4d3ab445 (diff) | |
download | php-sparkpost-f0ef950117a7e8162f0b2875cb3b071be389d8d4.zip php-sparkpost-f0ef950117a7e8162f0b2875cb3b071be389d8d4.tar.gz php-sparkpost-f0ef950117a7e8162f0b2875cb3b071be389d8d4.tar.bz2 |
Bump version, update changelog2.0.1
Diffstat (limited to 'lib/SparkPost')
-rw-r--r-- | lib/SparkPost/SparkPost.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/SparkPost/SparkPost.php b/lib/SparkPost/SparkPost.php index cbf761f..999eba4 100644 --- a/lib/SparkPost/SparkPost.php +++ b/lib/SparkPost/SparkPost.php @@ -11,7 +11,7 @@ class SparkPost /** * Library version, used for setting User-Agent. */ - private $version = '2.0.0'; + private $version = '2.0.1'; /** * HttpClient used to make requests. @@ -42,7 +42,7 @@ class SparkPost /** * Sets up the SparkPost instance. - * + * * @param HttpClient $httpClient - An httplug client or adapter * @param array $options - An array to overide default options or a string to be used as an API key */ @@ -60,7 +60,7 @@ class SparkPost * @param string $uri * @param array $payload - either used as the request body or url query params * @param array $headers - * + * * @return SparkPostPromise or SparkPostResponse depending on sync or async request */ public function request($method = 'GET', $uri = '', $payload = [], $headers = []) @@ -79,7 +79,7 @@ class SparkPost * @param string $uri * @param array $payload * @param array $headers - * + * * @return SparkPostResponse * * @throws SparkPostException @@ -101,7 +101,7 @@ class SparkPost * @param string $uri * @param array $payload * @param array $headers - * + * * @return SparkPostPromise */ public function asyncRequest($method = 'GET', $uri = '', $payload = [], $headers = []) @@ -115,7 +115,7 @@ class SparkPost } } - /** + /** * Builds request from given params. * * @param string $method @@ -191,7 +191,7 @@ class SparkPost return $options['protocol'].'://'.$options['host'].($options['port'] ? ':'.$options['port'] : '').'/api/'.$options['version'].'/'.$path.($paramsString ? '?'.$paramsString : ''); } - /** + /** * Sets $httpClient to be used for request. * * @param Http\Client\HttpClient $httpClient - the client to be used for request |