Class: Fog::Parsers::Redshift::AWS::CreateClusterParameterGroup

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb

Instance Method Summary collapse

Instance Method Details

#end_element(name) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb', line 18

def end_element(name)
  super
  case name
  when 'ParameterGroupName', 'ParameterGroupFamily', 'Description'
    @response['ClusterParameterGroup'][name] = value
  end
end

#resetObject

:parameter_group_name - (String) :parameter_group_family - (String) :description - (String)



10
11
12
# File 'lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb', line 10

def reset
  @response = {'ClusterParameterGroup'=>{}}
end

#start_element(name, attrs = []) ⇒ Object



14
15
16
# File 'lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb', line 14

def start_element(name, attrs = [])
  super
end