Method: Fog::Rackspace::NetworkingV2::SecurityGroupRules#get
- Defined in:
- lib/fog/rackspace/models/networking_v2/security_group_rules.rb
#get(id) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/fog/rackspace/models/networking_v2/security_group_rules.rb', line 14 def get(id) data = service.show_security_group_rule(id).body['security_group_rule'] new(data) rescue Fog::Rackspace::NetworkingV2::NotFound nil end |