1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[digitalocean] Rename do to docean in examples

Avoids using a reserved word, and `docean` is also used elsewhere in
the getting started guide.
This commit is contained in:
Ørjan Blom 2013-06-20 21:48:39 +02:00
parent ac2d666561
commit 9cacd518f3
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