class Platforms::Yammer::Api::Suggestions
Yammer's suggestions for Users
to follow @author Benjamin Elias @since 0.1.0
Public Instance Methods
delete(suggestion_id, options={})
click to toggle source
Decline a suggested user to follow @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/suggestionsidjson
# File lib/platforms/yammer/api/suggestions.rb, line 23 def delete suggestion_id, options={}, headers={} @connection.delete "suggestions/#{suggestion_id}.json", options, headers end
get(options={})
click to toggle source
Get suggested users to follow for the current user @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/suggestionsjson
# File lib/platforms/yammer/api/suggestions.rb, line 14 def get options={}, headers={} @connection.get "suggestions.json", options, headers end