Method: Fog::Parsers::AWS::Elasticache::SingleSecurityGroup#end_element

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

#end_element(name) ⇒ Object



18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/fog/aws/parsers/elasticache/single_security_group.rb', line 18

def end_element(name)
  case name
  when 'CacheSecurityGroup'
    @response[name] = @security_group
    reset_security_group

  when 'RequestId'
    @response['ResponseMetadata'][name] = value
  else
    super
  end
end