Sha256: a7738938c4965dc9d4b3b2eeda2a45915339920a2e6416a39431d01ebef6653d

Contents?: true

Size: 779 Bytes

Versions: 4

Compression:

Stored size: 779 Bytes

Contents

module Yammer
  module Api
    module Topic

      # @see https://developer.yammer.com/restapi/#rest-topics
      # @api_path /api/v1/topics
      # @rate_limited Yes
      # @authentication Requires user context
      # @raise  [Yammer::Error::Unauthorized] Error raised when supplied
      #   user credentials are not valid.
      # @return [Yammer::ApiResponse]
      # @param id [Integer]
      # @param [Hash] opts the options to fetch a thread with
      # @option opts [Integer] :is_followed_by include if specified user
      #   is following topic that is being fetched
      # @example Fetch data for the thread
      #   Yammer.get_topic(42, :is_followed_by => 2)
      def get_topic(id, opts={})
        get("/api/v1/topics/#{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/topic.rb
yammer-client-0.1.7 lib/yammer/api/topic.rb
yammer-client-0.1.6 lib/yammer/api/topic.rb
yammer-client-0.1.5 lib/yammer/api/topic.rb