Sha256: b74431569987c613070078234bd387e7d78a7dd10a912e9be7e66ce67fab65ea

Contents?: true

Size: 688 Bytes

Versions: 3

Compression:

Stored size: 688 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::Response]
      # @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

3 entries across 3 versions & 1 rubygems

Version Path
yammer-client-0.1.2 lib/yammer/api/topic.rb
yammer-client-0.1.1 lib/yammer/api/topic.rb
yammer-client-0.1.0 lib/yammer/api/topic.rb