Method: VMC::Client#change_password

Defined in:
lib/vmc/client.rb

#change_password(new_password) ⇒ Object

sets the password for the current logged user



322
323
324
325
326
327
328
329
# File 'lib/vmc/client.rb', line 322

def change_password(new_password)
  
   = json_get(path(VMC::USERS_PATH, @user))
  if 
    [:password] = new_password
    json_put(path(VMC::USERS_PATH, @user), )
  end
end