def request(params, &block)
      start = Time.now
      puts params
      text.msg "#{text.color("START", :cyan, :bold)}"
      username =  params[:username] || ENV['MEGAM_SCMADMIN_USERNAME']
      password =  params[:password]  || ENV['MEGAM_SCMADMIN_PASSWORD']
      raise ArgumentError, "You must specify [:username, :password]" if username.nil? || password.nil?
      text.msg "#{text.color("Got username[#{username}] [*******]", :red, :bold)}"

      begin
        httpcon = connection
        httpcon.use_ssl = false
        httpcon.start do |http|
          request = Net::HTTP::Get.new(@options[:path])
          request.basic_auth username, password
          @response = http.request(request)
        end
      end
      @response
    end
def request(params, &block)
      start = Time.now
      puts params
      text.msg "#{text.color("START", :cyan, :bold)}"
      username =  params[:username] || ENV['MEGAM_SCMADMIN_USERNAME']
      password =  params[:password]  || ENV['MEGAM_SCMADMIN_PASSWORD']
      raise ArgumentError, "You must specify [:username, :password]" if username.nil? || password.nil?
      text.msg "#{text.color("Got username[#{username}] [*******]", :red, :bold)}"

      begin
        httpcon = connection
        httpcon.use_ssl = false
        httpcon.start do |http|
          request = Net::HTTP::Get.new(@options[:path])
          request.basic_auth username, password
          @response = http.request(request)
        end
      end
      @response
    end
It is assumed that every API call will NOT use an API_KEY/email.