Skip to content

Commit

Permalink
fixing class name
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-g-silva committed Mar 14, 2017
1 parent bbb3c1d commit 84b0446
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions YiiTwilio.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace filipajdacic\yiitwilio;

use yii\base\Component;
use \Twilio\Rest\Client;
use \Services_Twilio;

/**
* YiiTwilio class
Expand All @@ -26,13 +26,13 @@ class YiiTwilio extends Component


/**
** @var string $account_sid -> Twilio Account ID
** @var string $account_sid -> Twilio Account ID
*/
public $account_sid;


/**
** @var string $auth_key -> Twilio Authorization Key
** @var string $auth_key -> Twilio Authorization Key
*/

public $auth_key;
Expand All @@ -42,12 +42,12 @@ class YiiTwilio extends Component
*/

public function init()
{
{
try {
$this->twilioClass = new \Twilio\Rest\Client($this->account_sid, $this->auth_key);
$this->twilioClass = new Services_Twilio($this->account_sid, $this->auth_key);
} catch (Exception $e) {
throw $e;
}
}
}

public function initTwilio() {
Expand Down

0 comments on commit 84b0446

Please sign in to comment.