Class: Platforms::Yammer::Api::Groups
- Defined in:
- lib/platforms/yammer/api/groups.rb
Overview
Groups in Yammer
Instance Method Summary collapse
-
#for_user(user_id, options = {}, headers = {}) ⇒ Faraday::Response
Get group memberships for a user.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Platforms::Yammer::Api::Base
Instance Method Details
#for_user(user_id, options = {}, headers = {}) ⇒ Faraday::Response
Get group memberships for a user
15 16 17 |
# File 'lib/platforms/yammer/api/groups.rb', line 15 def for_user user_id, ={}, headers={} @connection.get "groups/for_user/#{user_id}.json", , headers end |