Module: Fog::Slicehost::Collections

Included in:
Mock, Real
Defined in:
lib/fog/slicehost/models/images.rb,
lib/fog/slicehost/models/flavors.rb,
lib/fog/slicehost/models/servers.rb

Instance Method Summary collapse

Instance Method Details

#flavorsObject



8
9
10
# File 'lib/fog/slicehost/models/flavors.rb', line 8

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

#images(attributes = {}) ⇒ Object



8
9
10
11
12
# File 'lib/fog/slicehost/models/images.rb', line 8

def images(attributes = {})
  Fog::Slicehost::Images.new({
    :connection => self
  }.merge!(attributes))
end

#serversObject



8
9
10
# File 'lib/fog/slicehost/models/servers.rb', line 8

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