1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb
Zuhaib M Siddique 813eaecdbb [AWS|Auto Scale] Add support for put_notification_configuration and
change AWS API to use 01-01-2011 Spec
2012-04-21 00:09:21 -07:00

27 lines
523 B
Ruby

module Fog
module Parsers
module AWS
module AutoScaling
class PutNotificationConfiguration < Fog::Parsers::Base
def reset
@response = { 'ResponseMetadata' => {} }
end
def start_element(name, attrs = [])
super
end
def end_element(name)
case name
when 'RequestId'
@response['ResponseMetadata'][name] = value
end
end
end
end
end
end
end