Module: Mastodon::REST::Notifications
Instance Method Summary collapse
-
#notifications ⇒ Mastodon::Collection<Mastodon::Notification>
Get a list of notifications for the authenticated user.
Methods included from Utils
#array_param, #perform_request, #perform_request_with_collection, #perform_request_with_object
Instance Method Details
#notifications ⇒ Mastodon::Collection<Mastodon::Notification>
Get a list of notifications for the authenticated user
13 14 15 16 |
# File 'lib/mastodon/rest/notifications.rb', line 13 def notifications perform_request_with_collection(:get, '/api/v1/notifications', {}, Mastodon::Notification) end |