/**
  * The Couriers Constructor.
  *
  * @param string $api_key The AfterShip API Key.
  * @param array $guzzle_plugins Guzzle Plugins
  *
  * @throws \AftershipException
  */
 public function __construct($api_key, array $guzzle_plugins = array())
 {
     if (empty($api_key)) {
         throw new AftershipException('API Key is missing');
     }
     $this->_api_key = $api_key;
     parent::__construct();
 }
 public function __construct($api_key, $guzzle_plugins = array(), $api_version = "4")
 {
     if (empty($api_key)) {
         throw new \Exception('API Key is missing');
     }
     $this->_api_key = $api_key;
     if (count($guzzle_plugins) > 0) {
         $this->_guzzle_plugins = $guzzle_plugins;
     }
     parent::__construct();
     $this->_api_version = "v" . $api_version;
 }