Sha256: 8f08de5d835f084f6d5bdf8530f09182c47a8780782f1a609ccb90ec7b62417e
Contents?: true
Size: 639 Bytes
Versions: 22
Compression:
Stored size: 639 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( 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
22 entries across 22 versions & 5 rubygems