Method: Fog::OpenStack::Monitoring::NotificationMethod#update

Defined in:
lib/fog/openstack/monitoring/models/notification_method.rb

#update(attr = nil) ⇒ Object



22
23
24
25
26
27
# File 'lib/fog/openstack/monitoring/models/notification_method.rb', line 22

def update(attr = nil)
  requires :name, :type, :address
  merge_attributes(
    service.put_notification_method(id, attr || attributes).body
  )
end