Sha256: ddc12a58844c440fab06b7b9b16fa7692fd08f8c81e47958a9da465c71342c21

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 Bytes

Contents

module Yammer
  module Api
    module Topic

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

2 entries across 2 versions & 1 rubygems

Version Path
yammer-client-0.1.4 lib/yammer/api/topic.rb
yammer-client-0.1.3 lib/yammer/api/topic.rb