Sha256: 649a00c9cd97d6b422bc57206664ba8ed34dab38d286cbe5598a17559e1b54a0
Contents?: true
Size: 458 Bytes
Versions: 14
Compression:
Stored size: 458 Bytes
Contents
module Fog module Compute class Google class Firewalls < Fog::Collection model Fog::Compute::Google::Firewall def all data = service.list_firewalls.body load(data["items"] || []) end def get(identity) if firewall = service.get_firewall(identity).body new(firewall) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems