Hangman/hangman.rb
# 2. Give Me A Word
2. Give Me A Word
2 . Give Me A Word
def next_word
      payload = {
        sessionId: @session_id,
        action: "nextWord",
      }
      post payload
    end
def next_word payload = { sessionId : @session_id , action : "nextWord" , } post payload end
2.
2 .