diff options
author | beardyman <nornholdj@gmail.com> | 2015-09-22 12:17:22 -0400 |
---|---|---|
committer | beardyman <nornholdj@gmail.com> | 2015-09-22 12:17:22 -0400 |
commit | 271d2b486af305ef49830b16748edce84341a3c0 (patch) | |
tree | 0021062dba5638999411eed7a311ddccab6db691 /lib/SparkPost | |
parent | efe48cc85e619768f69cd1d4843505bf9d146745 (diff) | |
download | php-sparkpost-271d2b486af305ef49830b16748edce84341a3c0.zip php-sparkpost-271d2b486af305ef49830b16748edce84341a3c0.tar.gz php-sparkpost-271d2b486af305ef49830b16748edce84341a3c0.tar.bz2 |
started cleaning up tests to reflect the new changes
Diffstat (limited to 'lib/SparkPost')
-rw-r--r-- | lib/SparkPost/APIResource.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/SparkPost/APIResource.php b/lib/SparkPost/APIResource.php index 21514dc..714f1fb 100644 --- a/lib/SparkPost/APIResource.php +++ b/lib/SparkPost/APIResource.php @@ -111,17 +111,6 @@ class APIResource { } /** - * Retrieves the Http Adapter that was previously setup by the user - * @throws \Exception - */ - public function getHttpAdapter() { - if ($this->httpAdapter === null) { - throw new \Exception('No Http Adapter has been provided'); - } - return $this->httpAdapter; - } - - /** * Allows the user to pass in values to override the defaults and set their API key * @param Array $settingsConfig - Hashmap that contains config values for the SDK to connect to SparkPost * @throws \Exception @@ -143,17 +132,6 @@ class APIResource { } /** - * Retrieves the configuration that was previously setup by the user - * @throws \Exception - */ - public function getConfig() { - if ($this->config === null) { - throw new \Exception('No configuration has been provided'); - } - return $this->config; - } - - /** * @desc Private Method helper to reference parameter mappings and set the right value for the right parameter */ protected function setMappedValue (&$model, $mapKey, $value) { |