Class: Fog::Parsers::AWS::RDS::DBParameterParser
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::AWS::RDS::DBParameterParser
show all
- Defined in:
- lib/fog/aws/parsers/rds/db_parameter_parser.rb
Instance Method Summary
collapse
Instance Method Details
#end_element(name) ⇒ Object
18
19
20
21
22
23
24
25
|
# File 'lib/fog/aws/parsers/rds/db_parameter_parser.rb', line 18
def end_element(name)
case name
when 'IsModifiable'
@value == "true" ? true : false
else
@db_parameter[name] = @value.strip
end
end
|
#new_db_parameter ⇒ Object
10
11
12
|
# File 'lib/fog/aws/parsers/rds/db_parameter_parser.rb', line 10
def new_db_parameter
{}
end
|
#reset ⇒ Object
6
7
8
|
# File 'lib/fog/aws/parsers/rds/db_parameter_parser.rb', line 6
def reset
@db_parameter = new_db_parameter
end
|
#start_element(name, attrs = []) ⇒ Object
14
15
16
|
# File 'lib/fog/aws/parsers/rds/db_parameter_parser.rb', line 14
def start_element(name, attrs = [])
super
end
|