class Platforms::Yammer::Api::Oauth

OAuth2 tokens in Yammer, useful for verified admins to impoersonate other users, or to switch networks.

@note This class is called Oauth and not OAuth (or OAuth2), because

of the syntax of the Yammer API path.
There is no underscore between the O and A.

@author Benjamin Elias @since 0.1.0

Public Instance Methods

tokens(options={}) click to toggle source

Get tokens @param options [Hash] Options for the request @param headers [Hash] Additional headers to send with the request @return [Faraday::Response] the API response @see developer.yammer.com/docs/impersonation

# File lib/platforms/yammer/api/oauth.rb, line 20
def tokens options={}, headers={}
  @connection.get "oauth/tokens.json", options, headers
end