Skip to content

Commit 47a18b8

Browse files
author
Twilio CMS User
committed
CMS update of messaging/services/service-create by elaine@twilio.com
1 parent e6eae41 commit 47a18b8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

messaging/services/service-create/service-create.5.x.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
$auth_token = 'your_auth_token'
99
$twilio = new Twilio($account_sid, $auth_token);
1010

11-
$service = $twilio->messaging->v1->services->create(
12-
"My First Service",
13-
array(
14-
'statusCallback' => "http://requestb.in/1234abcd"
15-
)
16-
);
11+
$service = $twilio->messaging->v1->services->create("My First Service",
12+
array('statusCallback' => "http://requestb.in/1234abcd")
13+
);

messaging/services/service-create/service-create.7.x.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ public static void main(String[] args) {
1010
// Initialize the client
1111
Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
1212

13-
Service service = Service.creator("My Company").create();
13+
Service service = Service.creator("My First Service").create();
1414
}
1515
}

0 commit comments

Comments
 (0)