diff options
Diffstat (limited to 'lib/SparkPost/APIResource.php')
-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) { |