class Fog::Monitoring::OpenStack::NotificationMethod
Public Instance Methods
create()
click to toggle source
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 14 def create requires :name, :type, :address merge_attributes( service.create_notification_method(attributes).body ) end
destroy()
click to toggle source
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 28 def destroy requires :id service.delete_notification_method(id) true end
to_s()
click to toggle source
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 34 def to_s name end
update(attr = nil)
click to toggle source
# File lib/fog/monitoring/openstack/models/notification_method.rb, line 21 def update(attr = nil) requires :name, :type, :address merge_attributes( service.update_notification_method(id, attr || attributes).body ) end