src/models/microservices.rb
# Saves the score into de DB
Saves the score into de DB
Saves the score into de DB
def post_score(user_name)
    user_info = {user_name: user_name, score: @user_score}
    @user_score = 0
    post_to_url(@scores_conn, SCORES_KEY, user_info)
  end
def post_score ( user_name ) user_info = { user_name : user_name , score : @user_score } @user_score = 0 post_to_url ( @scores_conn , SCORES_KEY , user_info ) end
Saves the score into de DB
Saves the score into de DB
user_name