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

Commit

Permalink
Merge pull request #9 from spaceman1066/master
Browse files Browse the repository at this point in the history
Fixed create() calls in docs
  • Loading branch information
Jon Plax committed Mar 12, 2012
2 parents 3bdc548 + 11e0f60 commit feb6172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
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 feb6172

Please sign in to comment.