# File lib/fog/brightbox/models/compute/cloud_ip.rb, line 48 def destroy requires :identity connection.destroy_cloud_ip(identity) end
# File lib/fog/brightbox/models/compute/cloud_ip.rb, line 26 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 connection.map_cloud_ip(identity, :destination => final_destination) end
Generated with the Darkfish Rdoc Generator 2.