Parent

Class/Module Index [+]

Quicksearch

Fog::Network::Softlayer::Datacenter

Public Class Methods

new(attributes) click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 19
def initialize(attributes)
  @connection = attributes[:connection]
  super
end

Public Instance Methods

create() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 38
def create
  raise "Not possible."
end
destroy() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 46
def destroy
  raise "Not possible."
end
routable_subnets() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 29
def routable_subnets
  requires :id
  @routable_subnets ||= service.request(:location_datacenter, "#{id}/get_bound_subnets").body
end
routers() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 24
def routers
  requires :id
  @routers ||= service.get_datacenter_routers(id).body
end
save() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 34
def save
  raise "Not possible."
end
update() click to toggle source
# File lib/fog/softlayer/models/network/datacenter.rb, line 42
def update
  raise "Not possible."
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.