Module: Yammer::Api::Autocomplete

Included in:
Client
Defined in:
lib/yammer/api/autocomplete.rb

Instance Method Summary collapse

Instance Method Details

#autocomplete(opts = {}) ⇒ Yammer::ApiResponse

Examples:

Fetch data for the thread

Yammer.search(:prefix => 'pizza', :models => 'user:3,group:8,topic:10')

Parameters:

  • opts (Hash) (defaults to: {})

    the options to fetch a thread with

Options Hash (opts):

  • :prefix (String)
  • :models (String)
  • :network_id (Integer)
  • :include_site_actions (Integer)
  • :extended] (Boolean)
  • :include_network_domainss (Boolean)

Returns:

Raises:

See Also:

Rest API path:

  • /api/v1/autocomplete/ranked

Rate Limited?:

  • Yes

Authentication:

  • authenticated user context



34
35
36
# File 'lib/yammer/api/autocomplete.rb', line 34

def autocomplete(opts={})
  get('/api/v1/autocomplete/ranked', opts)
end