# File lib/fog/brightbox/models/compute/cloud_ip.rb, line 51 def destroy requires :identity service.destroy_cloud_ip(identity) end
# File lib/fog/brightbox/models/compute/cloud_ip.rb, line 29 def map(destination) requires :identity case destination when Fog::Compute::Brightbox::Server final_destination = destination.interfaces.first["id"] when Fog::Compute::Brightbox::LoadBalancer final_destination = destination.id else final_destination = destination end service.map_cloud_ip(identity, :destination => final_destination) end
Generated with the Darkfish Rdoc Generator 2.