module Mastodon::REST::Notifications

Public Instance Methods

notifications() click to toggle source

Get a list of notifications for the authenticated user @return [Mastodon::Collection<Mastodon::Notification>]

# File lib/mastodon/rest/notifications.rb, line 13
def notifications
  perform_request_with_collection(:get, '/api/v1/notifications', {},
                                  Mastodon::Notification)
end