module Tomcat
  module Manager
    module Api
      class Version7
        ###########################
        # URL Response Methods
        ###########################

        def connect_path
          "/manager/text/list"
        end
      end
    end
  end
end

module Tomcat
  module Manager
    module Api
      class Version7
        ###########################
        # URL Response Methods
        ###########################

        def connect_path
          "/manager/text/list"
        end

        ###########################
        # Processing Methods
        ###########################

        def connect_response_valid?(response_code)
          response_code == "200"
        end
      end
    end
  end
end

Add connect_response_valid? Method to Version7
Add connect_response_valid? Method to Version7

Update Version7 to include the connect_response_valid? method which
returns true only if the response corresponds to an HTTP 200 code.
