You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: password_reset.rb
    path of file: ./repos/tugboat/lib/tugboat/middleware
    
    the code of the file until where you have to start completion: module Tugboat
  module Middleware
    class PasswordReset < Base
      def call(env)
        ocean = env['barge']

        say "Queuing password reset for #{env['droplet_id']} #{env['droplet_name']}...", nil, false
        response = ocean.droplet.password_reset env['droplet_id']

        if response.success?
          say 'Password reset successful!', :green
    
    
      def call(env)
        ocean = env['barge']

        say "Queuing password reset for #{env['droplet_id']} #{env['droplet_name']}...", nil, false
        response = ocean.droplet.password_reset env['droplet_id']

        if response.success?
          say 'Password reset successful!', :green
          say 'Your new root password will be emailed to you', :green
        else
          say "Failed to reset password on Droplet: #{response.message}", :red
          exit 1
        end