# File lib/fog/brightbox/models/compute/load_balancer.rb, line 49 def destroy requires :identity service.destroy_load_balancer(identity) true end
# File lib/fog/brightbox/models/compute/load_balancer.rb, line 30 def ready? status == 'active' end
# File lib/fog/brightbox/models/compute/load_balancer.rb, line 34 def save raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted? requires :nodes, :listeners, :healthcheck options = { :nodes => nodes, :listeners => listeners, :healthcheck => healthcheck, :policy => policy, :name => name }.delete_if {|k,v| v.nil? || v == "" } data = service.create_load_balancer(options) merge_attributes(data) true end
Generated with the Darkfish Rdoc Generator 2.