public function testDefaultConfig() { $config = AwsClient::defaultConfig(); $this->assertNotEmpty($config); $this->assertArrayHasKey('region', $config); $this->assertEquals($config['region'], Config::get('aws.region')); }
public function __construct($config = array()) { parent::__construct($config); $this->config['region'] = 'us-east-1'; //cloudfront only uses us-east-1 $this->client = new CloudFrontClient($this->config); }
public function __construct($config = array()) { parent::__construct($config); $this->client = new S3Client($this->config); }
public function __construct($config = array()) { parent::__construct($config); $this->client = new URLRequest(); }