README.md in twilio-ruby-3.3.1 vs README.md in twilio-ruby-3.4.0
- old
+ new
@@ -14,11 +14,11 @@
$ git checkout develop
$ rake gem
$ gem install pkg/twilio-ruby-{version}
```
-## Get Started With Client Capability Tokens
+## Getting Started With Client Capability Tokens
If you just need to generate a Capability Token for use with Twilio Client, you
can do this:
``` ruby
@@ -43,11 +43,11 @@
```
There is a slightly more detailed document in the
[Capability](twilio-ruby/wiki/Capability) section of the wiki.
-## Getting Started with TwiML
+## Getting Started With TwiML
TwiML support is based on the [builder][1] library. You can construct a TwiML
response like this:
``` ruby
@@ -76,11 +76,11 @@
<Client>jenny</Client>
</Dial>
</Response>
```
-## Getting Started with REST
+## Getting Started With REST
### Setup Work
``` ruby
require 'rubygems' # not necessary with ruby 1.9 but included for completeness
@@ -137,10 +137,10 @@
)
@numbers.each {|num| puts num.phone_number}
# buy the first one
@number = @numbers[0].phone_number
-@account.incoming_phone_numbers.create(:phone_number => @number)
+@client.account.incoming_phone_numbers.create(:phone_number => @number)
```
## More Information
There are more detailed examples in the included [examples.rb](twilio-ruby/blob/master/examples.rb).
\ No newline at end of file