Class: Fog::AWS::Elasticache::ParameterGroup

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/aws/models/elasticache/parameter_group.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



11
12
13
14
15
# File 'lib/fog/aws/models/elasticache/parameter_group.rb', line 11

def destroy
  requires :id
  service.delete_cache_parameter_group(id)
  true
end

#saveObject



17
18
19
20
21
22
23
24
# File 'lib/fog/aws/models/elasticache/parameter_group.rb', line 17

def save
  requires :id
  service.create_cache_parameter_group(
    id,
    description = id,
    family      = 'memcached1.4'
  )
end