mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
343 B
Ruby
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
|
|
|