class Fog::Compute::Ecloud::PublicIp
Public Instance Methods
environment_id()
click to toggle source
# File lib/fog/compute/ecloud/models/public_ip.rb, line 16 def environment_id other_links[:Link].find { |l| l[:type] == "application/vnd.tmrk.cloud.environment" }[:href].scan(/\d+/)[0] end
id()
click to toggle source
# File lib/fog/compute/ecloud/models/public_ip.rb, line 20 def id href.scan(/\d+/)[0] end
internet_services()
click to toggle source
# File lib/fog/compute/ecloud/models/public_ip.rb, line 12 def internet_services @internet_services = Fog::Compute::Ecloud::InternetServices.new(:service => service, :href => href) end