Sha256: d56feb8c5c9eb140e5fb48474c0cdbdd2a6e2317001e52bf136f153405e9fe90
Contents?: true
Size: 791 Bytes
Versions: 2
Compression:
Stored size: 791 Bytes
Contents
module Fog module Compute module Terremark module Real # Get details for a Network # # ==== Parameters # * network_id<~Integer> - Id of the network to look up # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # FIXME def get_network_ips(network_id) opts = { :expects => 200, :method => 'GET', :parser => Fog::Parsers::Terremark::GetNetworkIps.new, :path => "network/#{network_id}/ipAddresses" } if self.is_a?(Fog::Terremark::Ecloud::Real) opts[:path] = "/extensions/network/#{network_id}/ips" end request(opts) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-terremark-0.0.2 | lib/fog/compute/terremark/requests/get_network_ips.rb |
fog-terremark-0.0.1 | lib/fog/compute/terremark/requests/get_network_ips.rb |