Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Fixed create() calls in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Plax committed Mar 12, 2012
1 parent 09674b6 commit 11e0f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 11e0f60

Please sign in to comment.