Sha256: 3424bebb6e2024f9469943c234b1f1d6c632db47a4438c4fe83e5c8356974b08

Contents?: true

Size: 946 Bytes

Versions: 5

Compression:

Stored size: 946 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::ApiResponse]
      # @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/ranked', opts)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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