Merge pull request #1901 from blom/patch-1

[digitalocean] Rename do to docean in examples
This commit is contained in:
Sergio Rubio 2013-06-21 05:41:52 -07:00
commit 5206664270
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ First, create a connection to the host:
```ruby
require 'fog'
do = Fog::Compute.new({
docean = Fog::Compute.new({
:provider => 'DigitalOcean',
:digitalocean_api_key => 'poiuweoruwoeiuroiwuer', # your API key here
:digitalocean_client_id => 'lkjasoidfuoiu' # your client key here

View File

@ -76,12 +76,12 @@ module Fog
#
# Usually called by Fog::Collection#create
#
# do = Fog::Compute.new({
# docean = Fog::Compute.new({
# :provider => 'DigitalOcean',
# :digitalocean_api_key => 'key-here', # your API key here
# :digitalocean_client_id => 'client-id-here' # your client key here
# })
# do.servers.create :name => 'foobar',
# docean.servers.create :name => 'foobar',
# :image_id => image_id_here,
# :flavor_id => flavor_id_here,
# :region_id => region_id_here