Sha256: 8ccff9ea0d50ae100313f728d9794e929003dd6bb8a577a26a4ffff63053265a

Contents?: true

Size: 1023 Bytes

Versions: 4

Compression:

Stored size: 1023 Bytes

Contents

module Yammer
  module Api
    module Search

      # @see https://developer.yammer.com/restapi/#rest-search
      # @api_path /api/v1/search
      # @rate_limited Yes
      # @authentication Requires 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 [Integer] :num_per_page
      # @option opts [Integer] :page
      # @option opts [Integer] :search_group
      # @option opts [Integer] :search_user
      # @option opts [String] :search_sort
      # @option opts [String] :match
      # @option opts [String] :model_types
      # @option opts [String] :search_startdate
      # @option opts [String] :search_enddate
      # @example Search for a particular term on within current user's network
      #   Yammer.search(:search => 'documents')
      def search(opts={})
        get('/api/v1/search', opts)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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