Sha256: 73df7d3b4cc47d095714c415091a290d350d20e4f66fa3e85729c8eab63edcad
Contents?: true
Size: 648 Bytes
Versions: 7
Compression:
Stored size: 648 Bytes
Contents
require 'fog/compute/models/ecloud/ip' module Fog module Compute class Ecloud class Ips < Fog::Ecloud::Collection model Fog::Compute::Ecloud::Ip undef_method :create attribute :href def all check_href!( :messages => "Ips href of a Network you want to enumerate" ) if data = connection.get_network_ips(href).body[:IpAddress] load(data) end end def get(uri) if data = connection.get_network_ip(uri).body new(data) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
7 entries across 7 versions & 3 rubygems