Class: Fog::Parsers::AWS::RDS::DBEngineVersionParser

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

Direct Known Subclasses

DescribeDBEngineVersions

Instance Method Summary collapse

Instance Method Details

#end_element(name) ⇒ Object



18
19
20
21
22
23
24
25
26
27
# File 'lib/fog/aws/parsers/rds/db_engine_version_parser.rb', line 18

def end_element(name)
  case name
  when 'DBEngineDescription' then @db_engine_version['DBEngineDescription'] = @value
  when 'DBEngineVersionDescription' then @db_engine_version['DBEngineVersionDescription'] = @value
  when 'DBParameterGroupFamily' then @db_engine_version['DBParameterGroupFamily'] = @value
  when 'DBEngineVersionIdentifier' then @db_engine_version['DBEngineVersionIdentifier'] = @value
  when 'Engine' then @db_engine_version['Engine'] = @value
  when 'EngineVersion' then @db_engine_version['EngineVersion'] = @value
  end
end

#fresh_engine_versionObject



10
11
12
# File 'lib/fog/aws/parsers/rds/db_engine_version_parser.rb', line 10

def fresh_engine_version
  {}
end

#resetObject



6
7
8
# File 'lib/fog/aws/parsers/rds/db_engine_version_parser.rb', line 6

def reset
  @db_engine_version = fresh_engine_version
end

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



14
15
16
# File 'lib/fog/aws/parsers/rds/db_engine_version_parser.rb', line 14

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