Sha256: e725cafcbc35a8fab800e4c4ea0d397895fcdb324ce92a56465ed7e5c4982a30

Contents?: true

Size: 789 Bytes

Versions: 5

Compression:

Stored size: 789 Bytes

Contents

module Yammer
  module Api
    module Thread

      # @see https://developer.yammer.com/restapi/#rest-users
      # @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

5 entries across 5 versions & 1 rubygems

Version Path
yammer-client-0.1.4 lib/yammer/api/thread.rb
yammer-client-0.1.3 lib/yammer/api/thread.rb
yammer-client-0.1.2 lib/yammer/api/thread.rb
yammer-client-0.1.1 lib/yammer/api/thread.rb
yammer-client-0.1.0 lib/yammer/api/thread.rb