module Yammer module Api module Network # @see https://developer.yammer.com/restapi/#rest-network # @api_path /api/v1//networks/current # @rate_limited Yes # @authentication authenticated user context # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Yammer::ApiResponse] # @param [Hash] opts the options to fetch a thread with # @option opts [Boolean] :include_suspended # @option opts [Boolean] :exclude_own_messages_from_unseen # @example Fetch all networks that the current user is a member of # Yammer.current_networks def current_networks(opts={}) get('/api/v1/networks/current', opts) end end end end