Sha256: 909d64148bf0e61bdf5dfed85a02e0d4fda66cc18ae733aac399af95d84ba9be
Contents?: true
Size: 941 Bytes
Versions: 26
Compression:
Stored size: 941 Bytes
Contents
module Fog module Terremark module Shared 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::Shared::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 module Mock def get_network_ips(network_id) raise MockNotImplemented.new("Contributions welcome!") end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems