Sha256: cba72532f8c4846f743374f794b91cc080f8cdc0438d8bc744dee2aa2ec54587

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 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::Response]
      # @example Fetch notifications for authenticated user
      #   Yammer.notifications
      def notifications
        get('/api/v1/streams/notifications')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yammer-client-0.1.2 lib/yammer/api/notification.rb
yammer-client-0.1.1 lib/yammer/api/notification.rb
yammer-client-0.1.0 lib/yammer/api/notification.rb