# File lib/fog/aws/models/elasticache/subnet_group.rb, line 22 def destroy requires :id service.delete_cache_subnet_group(id) true end
# File lib/fog/aws/models/elasticache/subnet_group.rb, line 10 def ready? # Just returning true, as Elasticache subnet groups # seem to not have a status, unlike RDS subnet groups. true end
# File lib/fog/aws/models/elasticache/subnet_group.rb, line 16 def save requires :description, :id, :subnet_ids service.create_cache_subnet_group(id, subnet_ids, description) reload end