Permalink
Browse files

Fixed create() calls in docs

  • Loading branch information...
1 parent 09674b6 commit 11e0f60011dcdceaf55331d0424a5e8df9a1b2fa @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 11e0f60

Please sign in to comment.