mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
f7849095b0
* default engine parameters * mocks around parameter groups
30 lines
601 B
Ruby
30 lines
601 B
Ruby
module Fog
|
|
module Parsers
|
|
module AWS
|
|
module RDS
|
|
class DBParameterParser < Fog::Parsers::Base
|
|
def reset
|
|
@db_parameter = new_db_parameter
|
|
end
|
|
|
|
def new_db_parameter
|
|
{}
|
|
end
|
|
|
|
def start_element(name, attrs = [])
|
|
super
|
|
end
|
|
|
|
def end_element(name)
|
|
case name
|
|
when 'IsModifiable'
|
|
@value == "true" ? true : false
|
|
else
|
|
@db_parameter[name] = @value.strip
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|