Class: XingApi::Contact
- Inherits:
-
Base
- Object
- Base
- XingApi::Contact
show all
- Defined in:
- lib/xing_api/contact.rb,
lib/xing_api/contact/tag.rb
Defined Under Namespace
Classes: Tag
Class Method Summary
collapse
Methods inherited from Base
request, request_with_body
Class Method Details
.list(user_id, options = {}) ⇒ Object
3
4
5
|
# File 'lib/xing_api/contact.rb', line 3
def self.list(user_id, options = {})
request(:get, "/v1/users/#{user_id}/contacts", options)
end
|
.list_ids(options = {}) ⇒ Object
7
8
9
|
# File 'lib/xing_api/contact.rb', line 7
def self.list_ids(options = {})
request(:get, '/v1/users/me/contact_ids', options)
end
|
.shared(user_id, options = {}) ⇒ Object
11
12
13
|
# File 'lib/xing_api/contact.rb', line 11
def self.shared(user_id, options = {})
request(:get, "/v1/users/#{user_id}/contacts/shared", options)
end
|