mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1901 from blom/patch-1
[digitalocean] Rename do to docean in examples
This commit is contained in:
commit
5206664270
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ First, create a connection to the host:
|
||||||
```ruby
|
```ruby
|
||||||
require 'fog'
|
require 'fog'
|
||||||
|
|
||||||
do = Fog::Compute.new({
|
docean = Fog::Compute.new({
|
||||||
:provider => 'DigitalOcean',
|
:provider => 'DigitalOcean',
|
||||||
:digitalocean_api_key => 'poiuweoruwoeiuroiwuer', # your API key here
|
:digitalocean_api_key => 'poiuweoruwoeiuroiwuer', # your API key here
|
||||||
:digitalocean_client_id => 'lkjasoidfuoiu' # your client key here
|
:digitalocean_client_id => 'lkjasoidfuoiu' # your client key here
|
||||||
|
|
|
@ -76,12 +76,12 @@ module Fog
|
||||||
#
|
#
|
||||||
# Usually called by Fog::Collection#create
|
# Usually called by Fog::Collection#create
|
||||||
#
|
#
|
||||||
# do = Fog::Compute.new({
|
# docean = Fog::Compute.new({
|
||||||
# :provider => 'DigitalOcean',
|
# :provider => 'DigitalOcean',
|
||||||
# :digitalocean_api_key => 'key-here', # your API key here
|
# :digitalocean_api_key => 'key-here', # your API key here
|
||||||
# :digitalocean_client_id => 'client-id-here' # your client 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,
|
# :image_id => image_id_here,
|
||||||
# :flavor_id => flavor_id_here,
|
# :flavor_id => flavor_id_here,
|
||||||
# :region_id => region_id_here
|
# :region_id => region_id_here
|
||||||
|
|
Loading…
Reference in a new issue