Class: XingApi::User::Recommendation

Inherits:
Base
  • Object
show all
Defined in:
lib/xing_api/user/recommendation.rb

Class Method Summary collapse

Methods inherited from Base

request, request_with_body

Class Method Details

.delete(user_id, options = {}) ⇒ Object



8
9
10
# File 'lib/xing_api/user/recommendation.rb', line 8

def self.delete(user_id, options = {})
  request(:delete, "/v1/users/me/network/recommendations/user/#{user_id}", options)
end

.list(options = {}) ⇒ Object



4
5
6
# File 'lib/xing_api/user/recommendation.rb', line 4

def self.list(options = {})
  request(:get, '/v1/users/me/network/recommendations', options)
end