Module: Fog::AWS::EC2::Collections

Included in:
Mock, Real
Defined in:
lib/fog/aws/models/ec2/images.rb,
lib/fog/aws/models/ec2/flavors.rb,
lib/fog/aws/models/ec2/servers.rb,
lib/fog/aws/models/ec2/volumes.rb,
lib/fog/aws/models/ec2/addresses.rb,
lib/fog/aws/models/ec2/key_pairs.rb,
lib/fog/aws/models/ec2/snapshots.rb,
lib/fog/aws/models/ec2/security_groups.rb

Instance Method Summary collapse

Instance Method Details

#addresses(attributes = {}) ⇒ Object



9
10
11
12
13
# File 'lib/fog/aws/models/ec2/addresses.rb', line 9

def addresses(attributes = {})
  Fog::AWS::EC2::Addresses.new({
    :connection => self
  }.merge!(attributes))
end

#flavorsObject



9
10
11
# File 'lib/fog/aws/models/ec2/flavors.rb', line 9

def flavors
  Fog::AWS::EC2::Flavors.new(:connection => self)
end

#imagesObject



9
10
11
# File 'lib/fog/aws/models/ec2/images.rb', line 9

def images
  Fog::AWS::EC2::Images.new(:connection => self)
end

#key_pairsObject



9
10
11
# File 'lib/fog/aws/models/ec2/key_pairs.rb', line 9

def key_pairs
  Fog::AWS::EC2::KeyPairs.new(:connection => self)
end

#security_groupsObject



9
10
11
# File 'lib/fog/aws/models/ec2/security_groups.rb', line 9

def security_groups
  Fog::AWS::EC2::SecurityGroups.new(:connection => self)
end

#serversObject



9
10
11
# File 'lib/fog/aws/models/ec2/servers.rb', line 9

def servers
  Fog::AWS::EC2::Servers.new(:connection => self)
end

#snapshots(attributes = {}) ⇒ Object



9
10
11
12
13
# File 'lib/fog/aws/models/ec2/snapshots.rb', line 9

def snapshots(attributes = {})
  Fog::AWS::EC2::Snapshots.new({
    :connection => self
  }.merge!(attributes))
end

#volumes(attributes = {}) ⇒ Object



9
10
11
12
13
# File 'lib/fog/aws/models/ec2/volumes.rb', line 9

def volumes(attributes = {})
  Fog::AWS::EC2::Volumes.new({
    :connection => self
  }.merge!(attributes))
end