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/rackspace/requests/monitoring/update_notification.rb
2013-09-10 10:03:33 -05:00

17 lines
343 B
Ruby

module Fog
module Rackspace
class Monitoring
class Real
def update_notification(id, options)
request(
:body => JSON.encode(options),
:expects => [204],
:method => 'PUT',
:path => "notifications/#{id}"
)
end
end
end
end
end