Skip to content
Browse files

Merge pull request #9 from spaceman1066/master

Fixed create() calls in docs
  • Loading branch information...
2 parents 3bdc548 + 11e0f60 commit feb6172fd449df1522b979a1818addca4781e6af @spaceman1066 spaceman1066 committed Mar 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
4 README.markdown
@@ -55,7 +55,7 @@ Map<String,String> params = new Map<String,String> {
'from' => '9991231234',
'url' => 'http://twimlets.com/holdmusic?Bucket=com.twilio.music.ambient'
};
-TwilioCall call = client.getAccount().getCalls().createCall(params);
+TwilioCall call = client.getAccount().getCalls().create(params);
```
Send an SMS
@@ -72,7 +72,7 @@ Map<String,String> params = new Map<String,String> {
'from' => '+15555555555',
'body' => 'Hello there!'
};
-TwilioSMS sms = client.getAccount().getSMSMessages().createSMS(params);
+TwilioSMS sms = client.getAccount().getSMSMessages().create(params);
```
Generate TwiML

0 comments on commit feb6172

Please sign in to comment.
Something went wrong with that request. Please try again.