Sha256: f8f497742d1ac890fa1780463c3842f6b6a0677d1e851d5fbe713f2022911f34

Contents?: true

Size: 468 Bytes

Versions: 1

Compression:

Stored size: 468 Bytes

Contents

module YammerApi
  module Api
    module Users

      include Helper

      # Get information about specified user
      #
      # @format `:json`
      # @authenticated true
      # @rate_limited true
      # @param id [Integer] The ID of user.
      # @see http://developer.yammer.com/api/#users
      def user(id, options={})
        path = "/users/#{id}.json"
        response = get(path, options)
        YammerApi::User.new(response)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yammer_api-0.1.0 lib/yammer_api/api/users.rb