Method: Fog::Parsers::AWS::Elasticache::EngineDefaultsParser#start_element

Defined in:
lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb

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



20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb', line 20

def start_element(name, attrs = [])
  case name
  when 'CacheNodeTypeSpecificParameter', 'Parameter'
    @parameter = {}
  when 'CacheNodeTypeSpecificValues'
    @parameter[name] = []
  when 'CacheNodeTypeSpecificValue'
    @node_specific_value = {}
  else
    super
  end
end