コード例 #1
0
ファイル: ConfigTest.php プロジェクト: indatus/gopher
 public function testGetRemoteDir()
 {
     $remote = Config::getRemoteDir();
     $this->assertEquals('https://s3.amazonaws.com/your_bucket_name/', $remote);
 }
コード例 #2
0
ファイル: TwilioCallService.php プロジェクト: indatus/gopher
 /**
  * {@inheritDoc}
  */
 public function call($from, $to, $uploadName)
 {
     $call = $this->twilio->account->calls->create($from, $to, Config::getRemoteDir() . $uploadName, array('Method' => 'GET'));
     return $call->sid;
 }