class Fog::Compute::Packet::Notification

Notification Model

Public Class Methods

new(attributes = {}) click to toggle source
Calls superclass method
# File lib/fog/compute/packet/models/notification.rb, line 18
def initialize(attributes = {})
  super
end

Public Instance Methods

update() click to toggle source
# File lib/fog/compute/packet/models/notification.rb, line 22
def update
  requires :id

  response = service.update_notification(id)
  merge_attributes(response.body)
end