# File lib/fog/monitoring/openstack/models/notification_method.rb, line 15 def create requires :name, :type, :address merge_attributes( service.create_notification_method(attributes).body ) end
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 35 def destroy requires :id service.delete_notification_method(id) true end
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 29 def patch(attr = nil) merge_attributes( service.patch_notification_method(id, attr || attributes).body ) end
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 41 def to_s name end
# File lib/fog/monitoring/openstack/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