1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[AWS|Glacier] Add notification configuration to model

This commit is contained in:
Frederick Cheung 2012-09-02 01:28:28 +01:00
parent 04fb3298ae
commit dd37b52c1f

View file

@ -28,9 +28,17 @@ module Fog
@jobs ||= Fog::AWS::Glacier::Jobs.new(:vault => self, :connection => connection)
end
def set_notification_configuration(topic, events)
connection.set_vault_notification_configuration(id, topic, events)
end
def delete_notification_configuration
connection.delete_vault_notification_configuration
end
def save
requires :id
data = connection.create_vault(id)
connection.create_vault(id)
reload
end