Sha256: c7af7387c36f44dbf323c1a806ee330136f335de6fc839c98fe8b6a449a553ac

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

module Yammer
  module Api
    module Notification

      # @see https://developer.yammer.com/restapi/#rest-search
      # @api_path /api/v1/streams/notifications
      # @rate_limited Yes
      # @authentication authenticated user context
      # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid.
      # @return [Yammer::ApiResponse]
      # @example Fetch notifications for authenticated user
      #   Yammer.notifications
      def notifications
        get('/api/v1/streams/notifications')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yammer-client-0.1.4 lib/yammer/api/notification.rb
yammer-client-0.1.3 lib/yammer/api/notification.rb