class Fog::Parsers::AWS::RDS::SubnetGroupParser
Public Instance Methods
end_element(name)
click to toggle source
# File lib/fog/aws/parsers/rds/subnet_group_parser.rb, line 16 def end_element(name) case name when 'VpcId' then @db_subnet_group['VpcId'] = value when 'SubnetGroupStatus' then @db_subnet_group['SubnetGroupStatus'] = value when 'DBSubnetGroupDescription' then @db_subnet_group['DBSubnetGroupDescription'] = value when 'DBSubnetGroupName' then @db_subnet_group['DBSubnetGroupName'] = value when 'SubnetIdentifier' then @db_subnet_group['Subnets'] << value when 'Marker' @response['DescribeDBSubnetGroupsResult']['Marker'] = value when 'RequestId' @response['ResponseMetadata'][name] = value end end
fresh_subnet_group()
click to toggle source
# File lib/fog/aws/parsers/rds/subnet_group_parser.rb, line 30 def fresh_subnet_group {'Subnets' => []} end
reset()
click to toggle source
# File lib/fog/aws/parsers/rds/subnet_group_parser.rb, line 8 def reset @db_subnet_group = fresh_subnet_group end
start_element(name, attrs = [])
click to toggle source
Calls superclass method
Fog::Parsers::Base#start_element
# File lib/fog/aws/parsers/rds/subnet_group_parser.rb, line 12 def start_element(name, attrs = []) super end