lib/g5_authentication_client/client.rb
def update_user(options={})
      user=User.new(options)
      user.validate!
      response=oauth_access_token.put("/v1/users/#{user.id}", body: user_hash(user.to_hash))
      User.new(response.parsed)
    end
def update_user(options={})
      user=User.new(options)
      user.validate!
      response=oauth_access_token.put("/v1/users/#{user.id}", body: user_hash(user.to_hash))
      User.new(response.parsed)
    end
def update_user ( options = { } ) user = User . new ( options ) user . validate! response = oauth_access_token . put ( "/v1/users/#{user.id}" , body : user_hash ( user . to_hash ) ) User . new ( response . parsed ) end
Update an existing user
 @param [Hash] options
 @option options [String] :email The new user's email address
 @option options [String] :password The new user's password
 @option options [String] :password_confirmation The new user's password confirmation string
 @return [G5AuthenticationClient::User]
Update an existing user