Sha256: 0df39e81fba47a9a9af67b3561de29caa266ba9c67a0defdf1d11597d5d1f0db
Contents?: true
Size: 591 Bytes
Versions: 65
Compression:
Stored size: 591 Bytes
Contents
require 'fog/ecloud/models/compute/firewall_acl' module Fog module Compute class Ecloud class FirewallAcls < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::FirewallAcl def all data = service.get_firewall_acls(href).body data = data[:FirewallAcl] ? data[:FirewallAcl] : data load(data) end def get(uri) if data = service.get_firewall_acl(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
65 entries across 65 versions & 6 rubygems