Module: Tacokit::Client::Notifications
- Included in:
- Tacokit::Client
- Defined in:
- lib/tacokit/client/notifications.rb
Instance Method Summary collapse
-
#notification(notification_id, options = nil) ⇒ Object
Retrieve a notification.
-
#update_notification(notification_id, options = {}) ⇒ Object
Update read/unread status of notification.
Instance Method Details
#notification(notification_id, options = nil) ⇒ Object
Retrieve a notification
7 8 9 |
# File 'lib/tacokit/client/notifications.rb', line 7 def notification(notification_id, = nil) get notification_path(notification_id), end |
#update_notification(notification_id, options = {}) ⇒ Object
Update read/unread status of notification
14 15 16 |
# File 'lib/tacokit/client/notifications.rb', line 14 def update_notification(notification_id, = {}) put notification_path(notification_id), end |