Sha256: dc30ab2a0f03e7c2f77cb526258e16ba08c7f28c4f912ddfcf45b2041dc9938e
Contents?: true
Size: 609 Bytes
Versions: 75
Compression:
Stored size: 609 Bytes
Contents
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( service.describe_cache_security_groups.body['CacheSecurityGroups'] ) end def get(identity) new( service.describe_cache_security_groups( identity ).body['CacheSecurityGroups'].first ) rescue Fog::AWS::Elasticache::NotFound nil end end end end end
Version data entries
75 entries across 73 versions & 3 rubygems