module TurbaKit::Notification
Public Instance Methods
create_service_notification(service_id, options = {})
click to toggle source
# File lib/turba_kit/notification.rb, line 12 def create_service_notification(service_id, options = {}) post_request("/services/#{service_id}/notifications", { namespace: :notification, params: { notification: options } }) end
delete_service_notification(service_id, notification_id, options = {})
click to toggle source
# File lib/turba_kit/notification.rb, line 21 def delete_service_notification(service_id, notification_id, options = {}) delete_request("/services/#{service_id}/notifications/#{notification_id}") end
update_service_notification(service_id, notification_id, options = {})
click to toggle source
# File lib/turba_kit/notification.rb, line 3 def update_service_notification(service_id, notification_id, options = {}) put_request("/services/#{service_id}/notifications/#{notification_id}", { namespace: :notification, params: { notification: options } }) end