mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
365 B
Ruby
18 lines
365 B
Ruby
module Fog
|
|
module Rackspace
|
|
class Monitoring
|
|
class Real
|
|
def create_notification(options = {})
|
|
data = options.dup
|
|
request(
|
|
:body => JSON.encode(data),
|
|
:expects => [201],
|
|
:method => 'POST',
|
|
:path => 'notifications'
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|