Sha256: 658195832ed0964c1590d6a9f1cf7d04c437b0c9e26483c668512b4e10d96f1a

Contents?: true

Size: 955 Bytes

Versions: 3

Compression:

Stored size: 955 Bytes

Contents

module Yammer
  module Api
    module Autocomplete

      # @see https://developer.yammer.com/restapi/#rest-search
      # @api_path /api/v1/autocomplete/ranked
      # @rate_limited Yes
      # @authentication authenticated user context
      # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid.
      # @return [Yammer::Response]
      # @param [Hash] opts the options to fetch a thread with
      # @option opts [String] :prefix 
      # @option opts [String] :models 
      # @option opts [Integer] :network_id
      # @option opts [Integer] :include_site_actions  
      # @option opts [Boolean] :extended]               
      # @option opts [Boolean] :include_network_domainss
      # @example Fetch data for the thread
      #   Yammer.search(:prefix => 'pizza', :models => 'user:3,group:8,topic:10')
      def autocomplete(opts={})
        get('/api/v1/autocomplete', opts)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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