Module: Yammer::Api::Network

Included in:
Client
Defined in:
lib/yammer/api/network.rb

Instance Method Summary collapse

Instance Method Details

#current_networks(opts = {}) ⇒ Yammer::ApiResponse

Examples:

Fetch all networks that the current user is a member of

Yammer.current_networks

Parameters:

  • opts (Hash) (defaults to: {})

    the options to fetch a thread with

Options Hash (opts):

  • :include_suspended (Boolean)
  • :exclude_own_messages_from_unseen (Boolean)

Returns:

Raises:

See Also:

Rest API path:

  • /api/v1//networks/current

Rate Limited?:

  • Yes

Authentication:

  • authenticated user context



30
31
32
# File 'lib/yammer/api/network.rb', line 30

def current_networks(opts={})
  get('/api/v1/networks/current', opts)
end