Sha256: f5c0d27df2551cb7c77a100d8c0335a63993fda92bfa775819affa7036ab44c2

Contents?: true

Size: 791 Bytes

Versions: 4

Compression:

Stored size: 791 Bytes

Contents

module Yammer
  module Api
    module Thread

      # @see https://developer.yammer.com/restapi/#rest-threads
      # @api_path /api/v1/threads/id
      # @rate_limited Yes
      # @authentication Requires user context
      # @raise  [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid.
      # @return [Yammer::Response]
      # @param id [Integer] the thread ID
      # @param [Hash] opts the options to fetch a thread with
      # @option opts [Integer] :newer_than
      # @option opts [String] :threaded
      # @option opts [Boolean] :exclude_own_messages_from_unseen
      # @example Fetch data for the thread
      #   Yammer.get_thread(42)
      def get_thread(id, opts={})
        get("/api/v1/threads/#{id}", 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/thread.rb
yammer-client-0.1.7 lib/yammer/api/thread.rb
yammer-client-0.1.6 lib/yammer/api/thread.rb
yammer-client-0.1.5 lib/yammer/api/thread.rb