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



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

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

#saveObject



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

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