Sha256: cbf2ed7eb2b3f4187ae62f4c62556336283dc6a8c23258a79459fc5c0daa8f08
Contents?: true
Size: 724 Bytes
Versions: 8
Compression:
Stored size: 724 Bytes
Contents
require 'lib/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 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
8 entries across 8 versions & 1 rubygems