Sha256: 71b946aeb9923896a320c935fabcec84f1df7365c6ec6e3d8adc85ef9564020b
Contents?: true
Size: 794 Bytes
Versions: 5
Compression:
Stored size: 794 Bytes
Contents
module Fog module Terremark class Real # Get list of public ips # # ==== Parameters # * vdc_id<~Integer> - Id of vdc to find public ips for # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'PublicIpAddresses'<~Array> # * 'href'<~String> - linke to item # * 'name'<~String> - name of item def get_public_ips(vdc_id) request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Terremark::GetPublicIps.new, :path => "vdc/#{vdc_id}/publicIps" ) end end class Mock def get_public_ips(vdc_id) raise MockNotImplemented.new("Contributions welcome!") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems