Sha256: 8fd2b70c03b40d058d2560e76fc652ee08c4a7e6a20012ccb32265c6d197cb3d

Contents?: true

Size: 995 Bytes

Versions: 1

Compression:

Stored size: 995 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 Fetch data for the thread
      #   Yammer.search(:search => 'money power women')
      def search(opts={})
        get('/api/v1/search', opts)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yammer-client-0.1.4 lib/yammer/api/search.rb