Permalink
Browse files

use client instead of resource in smsmessages

  • Loading branch information...
1 parent 7c76f37 commit 2e91eef3830e20d2a2a6e5067732cc2d0f5136b3 Kevin Burke committed Jun 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Services/Twilio/Rest/SmsMessages.php
@@ -3,9 +3,9 @@
class Services_Twilio_Rest_SmsMessages
extends Services_Twilio_ListResource
{
- public function __construct($resource, $uri) {
+ public function __construct($client, $uri) {
$uri = preg_replace("#SmsMessages#", "SMS/Messages", $uri);
- parent::__construct($resource, $uri);
+ parent::__construct($client, $uri);
}
function create($from, $to, $body, array $params = array())

0 comments on commit 2e91eef

Please sign in to comment.