Method: Figo#modify_notification

Defined in:
lib/notification/api_call.rb

#modify_notification(notification) ⇒ Notification

Modify notification.

Parameters:

  • notification (Notification)

    modified notification object

Returns:

  • (Notification)

    modified notification returned by server



30
31
32
# File 'lib/notification/api_call.rb', line 30

def modify_notification(notification)
  query_api_object Notification, "/rest/notifications/#{notification.notification_id}", notification.dump(), "PUT"
end