Sha256: c96fdbb8c50a03bd39cd6ed1ca8db8ff4b46609711fa46d7fa623145bf483ab9
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
require "fog/core/collection" require "fog/brightbox/models/compute/firewall_rule" module Fog module Compute class Brightbox class FirewallRules < Fog::Collection model Fog::Compute::Brightbox::FirewallRule def get(identifier) return nil if identifier.nil? || identifier == "" data = service.get_firewall_rule(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems