Class: XingApi::User::Photo

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

Class Method Summary collapse

Methods inherited from Base

request, request_with_body

Class Method Details

.delete(options = {}) ⇒ Object



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

def self.delete(options = {})
  request(:delete, '/v1/users/me/photo', options)
end

.update(body_hash, options = {}) ⇒ Object



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

def self.update(body_hash, options = {})
  request_with_body(:put, '/v1/users/me/photo', body_hash, options)
end