mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fixing typo "retreive" -> "retrieve"
This commit is contained in:
parent
e24002157d
commit
d282a5700a
7 changed files with 22 additions and 22 deletions
|
@ -22,7 +22,7 @@ module Fog
|
|||
# server_id=nil
|
||||
# >
|
||||
#
|
||||
# The IP address can be retreived by running AWS.addresses.get("test"). See get method below.
|
||||
# The IP address can be retrieved by running AWS.addresses.get("test"). See get method below.
|
||||
#
|
||||
|
||||
def initialize(attributes)
|
||||
|
@ -72,7 +72,7 @@ module Fog
|
|||
self
|
||||
end
|
||||
|
||||
# Used to retreive an IP address
|
||||
# Used to retrieve an IP address
|
||||
#
|
||||
# public_ip is required to get the associated IP information.
|
||||
#
|
||||
|
|
|
@ -135,7 +135,7 @@ module Fog
|
|||
self
|
||||
end
|
||||
|
||||
# Used to retreive a flavor
|
||||
# Used to retrieve a flavor
|
||||
# flavor_id is required to get the associated flavor information.
|
||||
# flavors available currently:
|
||||
# 't1.micro', 'm1.small', 'm1.large', 'm1.xlarge', 'c1.medium', 'c1.xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge', 'cc1.4xlarge', 'cg1.4xlarge'
|
||||
|
|
|
@ -23,7 +23,7 @@ module Fog
|
|||
# private_key="-----BEGIN RSA PRIVATE KEY-----\nf/VtfXJ/ekTSlRS2GSItBSzMrEGoZ+EXeMOuiA7HFkDcgKt6aBiOX9Bysiyfc1rIrgWdFKqXBRJA\nrtvBPa3/32koMPV4FxG7RZrPuKLITmFoEV86M0DSLo+ErlOPuDChfrR9dk6eI17/o1VmSvYsIpDc\njvbgx+tt7ZEPvduoUag7YdnUI0f20fttsdXjMlyDg9pPOVF3/hqucqOb3t5y9lvVJJxdTnEDFSjb\nvodpaDT9+ssw4IsQsZEIvfL0hK+Lt4phbclUWfG7JVnYfdd2u4zU6Nqe0+3qoR0ZOH4/zaUko7z8\n7JMbJqs5bmdWfnQTrvbJ13545FRI/W48ZRJxqPcj0t2MzasbT4gMg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QVnnnj8ei1oTmZ+Uw9/48snWYcurL2jsbuWhhE0NTt\nfe/cqov7ZaZHs+Tr20ZBEDEqUEWr/MMskj/ZSVxnza1G/hztFJMAThF9ZJoGQkHWHfXCGOLLGY+z\nqi0SC8EIeu8PUxjO2SRj9S9o/Dwg3iHyM3pj57kD7fDNnl3Ed6LMoCXoaQV8BdMX4xh=\n-----END RSA PRIVATE KEY-----"
|
||||
#>
|
||||
#
|
||||
# The key_pair can be retreived by running AWS.key_pairs.get("test"). See get method below.
|
||||
# The key_pair can be retrieved by running AWS.key_pairs.get("test"). See get method below.
|
||||
#
|
||||
|
||||
def initialize(attributes)
|
||||
|
@ -59,7 +59,7 @@ module Fog
|
|||
load(data['keySet'])
|
||||
end
|
||||
|
||||
# Used to retreive a key pair that was created with the AWS.key_pairs.create method.
|
||||
# Used to retrieve a key pair that was created with the AWS.key_pairs.create method.
|
||||
# The name is required to get the associated key_pair information.
|
||||
#
|
||||
# You can run the following command to get the details:
|
||||
|
|
|
@ -28,12 +28,12 @@ module Fog
|
|||
# vpc_id=nil
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def initialize(attributes)
|
||||
self.filters ||= {}
|
||||
super
|
||||
end
|
||||
|
||||
|
||||
# Returns an array of all security groups that have been created
|
||||
#
|
||||
# AWS.security_groups.all
|
||||
|
@ -67,7 +67,7 @@ module Fog
|
|||
load(data['securityGroupInfo'])
|
||||
end
|
||||
|
||||
# Used to retreive a security group
|
||||
# Used to retrieve a security group
|
||||
# group name is required to get the associated flavor information.
|
||||
#
|
||||
# You can run the following command to get the details:
|
||||
|
@ -82,16 +82,16 @@ module Fog
|
|||
# ip_permissions=[{"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>-1, "toPort"=>-1, "ipRanges"=>[], "ipProtocol"=>"icmp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"tcp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"udp"}],
|
||||
# owner_id="312571045469"
|
||||
# vpc_id=nil
|
||||
# >
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def get(group_name)
|
||||
if group_name
|
||||
self.class.new(:connection => connection).all('group-name' => group_name).first
|
||||
end
|
||||
end
|
||||
|
||||
# Used to retreive a security group
|
||||
# Used to retrieve a security group
|
||||
# group id is required to get the associated flavor information.
|
||||
#
|
||||
# You can run the following command to get the details:
|
||||
|
@ -105,9 +105,9 @@ module Fog
|
|||
# description="default group",
|
||||
# ip_permissions=[{"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>-1, "toPort"=>-1, "ipRanges"=>[], "ipProtocol"=>"icmp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"tcp"}, {"groups"=>[{"groupName"=>"default", "userId"=>"312571045469"}], "fromPort"=>0, "toPort"=>65535, "ipRanges"=>[], "ipProtocol"=>"udp"}],
|
||||
# owner_id="312571045469"
|
||||
# >
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def get_by_id(group_id)
|
||||
if group_id
|
||||
self.class.new(:connection => connection).all('group-id' => group_id).first
|
||||
|
|
|
@ -103,7 +103,7 @@ module Fog
|
|||
server
|
||||
end
|
||||
|
||||
# Used to retreive a server
|
||||
# Used to retrieve a server
|
||||
#
|
||||
# server_id is required to get the associated server information.
|
||||
#
|
||||
|
@ -142,7 +142,7 @@ module Fog
|
|||
# user_data=nil
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def get(server_id)
|
||||
if server_id
|
||||
self.class.new(:connection => connection).all('instance-id' => server_id).first
|
||||
|
|
|
@ -31,7 +31,7 @@ module Fog
|
|||
# tags=nil
|
||||
#>
|
||||
#
|
||||
# The volume can be retreived by running AWS.volumes.get("vol-1e2028b9"). See get method below.
|
||||
# The volume can be retrieved by running AWS.volumes.get("vol-1e2028b9"). See get method below.
|
||||
#
|
||||
|
||||
def initialize(attributes)
|
||||
|
@ -59,7 +59,7 @@ module Fog
|
|||
# tags=nil
|
||||
#>
|
||||
#
|
||||
# The volume can be retreived by running AWS.volumes.get("vol-1e2028b9"). See get method below.
|
||||
# The volume can be retrieved by running AWS.volumes.get("vol-1e2028b9"). See get method below.
|
||||
#
|
||||
|
||||
def all(filters = filters)
|
||||
|
@ -76,7 +76,7 @@ module Fog
|
|||
self
|
||||
end
|
||||
|
||||
# Used to retreive a volume
|
||||
# Used to retrieve a volume
|
||||
# volume_id is required to get the associated volume information.
|
||||
#
|
||||
# You can run the following command to get the details:
|
||||
|
|
|
@ -29,12 +29,12 @@ module Fog
|
|||
# tenancy=nil
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def initialize(attributes)
|
||||
self.filters ||= {}
|
||||
super
|
||||
end
|
||||
|
||||
|
||||
# Returns an array of all VPCs that have been created
|
||||
#
|
||||
# AWS.vpcs.all
|
||||
|
@ -65,7 +65,7 @@ module Fog
|
|||
load(data['vpcSet'])
|
||||
end
|
||||
|
||||
# Used to retreive a VPC
|
||||
# Used to retrieve a VPC
|
||||
# vpc_id is required to get the associated VPC information.
|
||||
#
|
||||
# You can run the following command to get the details:
|
||||
|
@ -79,7 +79,7 @@ module Fog
|
|||
# TODO
|
||||
# >
|
||||
#
|
||||
|
||||
|
||||
def get(vpc_id)
|
||||
if vpc_id
|
||||
self.class.new(:connection => connection).all('vpc-id' => vpc_id).first
|
||||
|
|
Loading…
Add table
Reference in a new issue