Sha256: 868e2580334829e79ed109c5560c9f78e0def3073e9902af93abb923d3ee2dc0

Contents?: true

Size: 997 Bytes

Versions: 3

Compression:

Stored size: 997 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::Response]
      # @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.json', 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/search.rb
yammer-client-0.1.1 lib/yammer/api/search.rb
yammer-client-0.1.0 lib/yammer/api/search.rb