Method: Fog::Parsers::AWS::RDS::CreateDBSecurityGroup#end_element

Defined in:
lib/fog/aws/parsers/rds/create_db_security_group.rb

#end_element(name) ⇒ Object



19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/fog/aws/parsers/rds/create_db_security_group.rb', line 19

def end_element(name)
  case name
  when 'DBSecurityGroup' then
    @response['CreateDBSecurityGroupResult']['DBSecurityGroup'] = @security_group
    @security_group = fresh_security_group
  when 'RequestId'
    @response['ResponseMetadata'][name] = value
  else
    super
  end

end