Module: Yammer::Client::Suggestions
- Included in:
- Yammer::Client
- Defined in:
- lib/yammer/client/suggestions.rb
Overview
Defines methods to get/declines suggestions.
Instance Method Summary collapse
-
#decline_suggestion(id) ⇒ Object
Decline a suggestion specfic id.
-
#suggestions(options = {}) ⇒ Hashie::Mash
Return suggested groups and users.
Instance Method Details
#decline_suggestion(id) ⇒ Object
Decline a suggestion specfic id. Yammer.decline_suggestion(12345)
24 25 26 |
# File 'lib/yammer/client/suggestions.rb', line 24 def decline_suggestion(id) delete("suggestions/#{id}") end |
#suggestions(options = {}) ⇒ Hashie::Mash
Return suggested groups and users.
Yammer.suggestions
16 17 18 |
# File 'lib/yammer/client/suggestions.rb', line 16 def suggestions(={}) get('suggestions', ) end |