Sha256: 6650caafd769b2be43ed14185b0cdaa707b14b93c0dc6ed740189b6af00742dc
Contents?: true
Size: 648 Bytes
Versions: 25
Compression:
Stored size: 648 Bytes
Contents
require 'fog/ecloud/models/compute/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
25 entries across 25 versions & 7 rubygems