Permalink
Browse files

Update examples for 2010-04-01

  • Loading branch information...
1 parent aa0c0a8 commit 359dcae63fb0876a19d7a53407961935ee6cb66f Adam Ballai committed Aug 31, 2010
Showing with 6 additions and 2 deletions.
  1. +4 −0 Changelog
  2. +2 −2 examples/example-rest.rb
View
@@ -1,5 +1,9 @@
# Changelog for Twilio Ruby Gem
+## 2.0.6
+
+* Update API examples for 2010-04-01
+
## 2.0.5
* Fixed bug which caused validateRequest to fail
View
@@ -19,8 +19,8 @@
# 1. Initiate a new outbound call to 415-555-1212
# uses a HTTP POST
d = {
- 'Caller' => CALLER_ID,
- 'Called' => '415-555-1212',
+ 'From' => CALLER_ID,
+ 'To' => '415-555-1212',
'Url' => 'http://demo.twilio.com/welcome',
}
resp = account.request("/#{API_VERSION}/Accounts/#{ACCOUNT_SID}/Calls",

0 comments on commit 359dcae

Please sign in to comment.