Sha256: bdb57dfade94c09f8db5a35395cf3b28d6359e966c41a6002c1c5ecce34ce0c4
Contents?: true
Size: 647 Bytes
Versions: 36
Compression:
Stored size: 647 Bytes
Contents
require 'fog/core/collection' require '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
36 entries across 36 versions & 13 rubygems