Sha256: f69daf711764d3431539896bc666a4230e582a4a61df25f21ccd73c6b380d9e1

Contents?: true

Size: 576 Bytes

Versions: 4

Compression:

Stored size: 576 Bytes

Contents

module Yammer
  module Api
    module Notification

      # @see https://developer.yammer.com/restapi/#rest-notifications
      # @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

4 entries across 4 versions & 1 rubygems

Version Path
yammer-client-0.1.8 lib/yammer/api/notification.rb
yammer-client-0.1.7 lib/yammer/api/notification.rb
yammer-client-0.1.6 lib/yammer/api/notification.rb
yammer-client-0.1.5 lib/yammer/api/notification.rb