class Fog::OpenStack::Monitoring::NotificationMethod
Public Instance Methods
create()
click to toggle source
# File lib/fog/openstack/monitoring/models/notification_method.rb, line 15 def create requires :name, :type, :address merge_attributes( service.create_notification_method(attributes).body ) end
destroy()
click to toggle source
# File lib/fog/openstack/monitoring/models/notification_method.rb, line 35 def destroy requires :id service.delete_notification_method(id) true end
patch(attr = nil)
click to toggle source
# File lib/fog/openstack/monitoring/models/notification_method.rb, line 29 def patch(attr = nil) merge_attributes( service.patch_notification_method(id, attr || attributes).body ) end
to_s()
click to toggle source
# File lib/fog/openstack/monitoring/models/notification_method.rb, line 41 def to_s name end
update(attr = nil)
click to toggle source
# 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