Class: Platforms::Yammer::Api::Suggestions
- Defined in:
- lib/platforms/yammer/api/suggestions.rb
Overview
Yammer’s suggestions for Users to follow
Instance Method Summary collapse
-
#delete(suggestion_id, options = {}, headers = {}) ⇒ Faraday::Response
Decline a suggested user to follow.
-
#get(options = {}, headers = {}) ⇒ Faraday::Response
Get suggested users to follow for the current user.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Platforms::Yammer::Api::Base
Instance Method Details
#delete(suggestion_id, options = {}, headers = {}) ⇒ Faraday::Response
Decline a suggested user to follow
23 24 25 |
# File 'lib/platforms/yammer/api/suggestions.rb', line 23 def delete suggestion_id, ={}, headers={} @connection.delete "suggestions/#{suggestion_id}.json", , headers end |
#get(options = {}, headers = {}) ⇒ Faraday::Response
Get suggested users to follow for the current user
14 15 16 |
# File 'lib/platforms/yammer/api/suggestions.rb', line 14 def get ={}, headers={} @connection.get "suggestions.json", , headers end |