class Fog::AWS::Elasticache::SecurityGroups
Public Instance Methods
all()
click to toggle source
# File lib/fog/aws/models/elasticache/security_groups.rb, line 9 def all load( service.describe_cache_security_groups.body['CacheSecurityGroups'] ) end
get(identity)
click to toggle source
# File lib/fog/aws/models/elasticache/security_groups.rb, line 15 def get(identity) new( service.describe_cache_security_groups( identity ).body['CacheSecurityGroups'].first ) rescue Fog::AWS::Elasticache::NotFound nil end