Class: XingApi::User::BirthDate

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

Class Method Summary collapse

Methods inherited from Base

request, request_with_body

Class Method Details

.update(day, month, year, options = {}) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/xing_api/user/birth_date.rb', line 4

def self.update(day, month, year, options = {})
  request(
    :put,
    '/v1/users/me/birth_date',
    {
      day: day,
      month: month,
      year: year
    }.merge(options)
  )
end