Class: Platforms::Yammer::Api::Oauth
- Defined in:
- lib/platforms/yammer/api/oauth.rb
Overview
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.
OAuth2 tokens in Yammer, useful for verified admins to impoersonate other users, or to switch networks.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Platforms::Yammer::Api::Base
Instance Method Details
#tokens(options = {}, headers = {}) ⇒ Faraday::Response
Get tokens
20 21 22 |
# File 'lib/platforms/yammer/api/oauth.rb', line 20 def tokens ={}, headers={} @connection.get "oauth/tokens.json", , headers end |