Class: Fog::Brightbox::Compute::FirewallRules
- Inherits:
-
Collection
- Object
- Collection
- Fog::Brightbox::Compute::FirewallRules
- Defined in:
- lib/fog/brightbox/models/compute/firewall_rules.rb
Instance Method Summary collapse
Instance Method Details
#get(identifier) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/fog/brightbox/models/compute/firewall_rules.rb', line 9 def get(identifier) return nil if identifier.nil? || identifier == "" data = service.get_firewall_rule(identifier) new(data) rescue Excon::Errors::NotFound nil end |