Method: Fog::Compute::Ecloud::PublicIp#environment_id

Defined in:
lib/fog/ecloud/models/compute/public_ip.rb

#environment_idObject


16
17
18
# File 'lib/fog/ecloud/models/compute/public_ip.rb', line 16

def environment_id
  other_links[:Link].detect { |l| l[:type] == "application/vnd.tmrk.cloud.environment" }[:href].scan(/\d+/)[0]
end