Sha256: a50ef9b85de2e7bcde0bf9359028a1ee3236dbc5a0ce0d533a3af8d1c71345dd
Contents?: true
Size: 818 Bytes
Versions: 29
Compression:
Stored size: 818 Bytes
Contents
require 'fog/vcloud/terremark/ecloud/models/firewall_acl' module Fog class Vcloud module Terremark class Ecloud class FirewallAcls < Fog::Vcloud::Collection model Fog::Vcloud::Terremark::Ecloud::FirewallAcl attribute :href, :aliases => :Href def all check_href! :message => "the Firewall ACL href for the network you want to enumerate" if data = connection.get_firewall_acls(href).body[:FirewallAcl] data = [ data ] if data.is_a?(Hash) load(data) end end def get(uri) if data = connection.get_firewall_acl(uri).body new(data) end rescue Fog::Errors::NotFound nil end end end end end end
Version data entries
29 entries across 29 versions & 3 rubygems