lib/profitbricks/data_center.rb in profitbricks-0.0.5 vs lib/profitbricks/data_center.rb in profitbricks-0.4.0

- old
+ new

@@ -1,8 +1,9 @@ module Profitbricks class DataCenter < Profitbricks::Model has_many :servers has_many :storages + has_many :load_balancers # Deletes an empty Virtual Data Center. All components must be removed first. # @return [Boolean] true on success, false otherwise def delete response = Profitbricks.request :delete_data_center, "<dataCenterId>#{self.id}</dataCenterId>"