Module: NatureRemoApi::Endpoints::User

Included in:
NatureRemoApi::Endpoints
Defined in:
lib/nature_remo_api/endpoints/user.rb

Instance Method Summary collapse

Instance Method Details

#update_user_me(nickname:) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/nature_remo_api/endpoints/user.rb', line 8

def update_user_me(nickname:)
  params = {
    nickname: nickname
  }

  post('/1/users/me', params)
end

#user_meObject



4
5
6
# File 'lib/nature_remo_api/endpoints/user.rb', line 4

def user_me
  get('/1/users/me')
end