Sha256: f6e01554b63b6dd43e5075163a97ef783641c9074cd6fd38213e0335e126bc15
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
require 'rackspace-fog/core/collection' require 'rackspace-fog/aws/models/elasticache/security_group' module Fog module AWS class Elasticache class SecurityGroups < Fog::Collection model Fog::AWS::Elasticache::SecurityGroup def all load( connection.describe_cache_security_groups.body['CacheSecurityGroups'] ) end def get(identity) new( connection.describe_cache_security_groups( identity ).body['CacheSecurityGroups'].first ) rescue Fog::AWS::Elasticache::NotFound nil end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rackspace-fog-1.4.2 | lib/rackspace-fog/aws/models/elasticache/security_groups.rb |