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/cloud_watch/put_metric_alarm.rb

27 lines
503 B
Ruby
Raw Normal View History

2011-09-29 17:55:48 -04:00
module Fog
module Parsers
module AWS
module CloudWatch
2011-09-30 14:49:10 -04:00
2011-09-29 17:55:48 -04:00
class PutMetricAlarm < Fog::Parsers::Base
2011-09-30 14:49:10 -04:00
2011-09-29 17:55:48 -04:00
def reset
@response = { 'ResponseMetadata' => {} }
end
def start_element(name, attrs = [])
super
end
def end_element(name)
case name
when 'RequestId'
@response['ResponseMetadata'][name] = value.strip
2011-09-29 17:55:48 -04:00
end
end
2011-10-04 09:30:48 -04:00
end
2011-09-29 17:55:48 -04:00
end
end
end
2011-10-03 18:34:59 -04:00
end