Sha256: cc5f7baf3905491a887e2b3087c28eb667327858bfe386c260bf78940054c671
Contents?: true
Size: 491 Bytes
Versions: 32
Compression:
Stored size: 491 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 = connection.get_firewall_rule(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
32 entries across 32 versions & 12 rubygems