lib/webpagetest/client.rb
def required_params(params)
      if params.options.nil? || params.options.url.nil? || params.options.url == Connection::ENDPOINT
        raise_error("An API key must be specified using :k variable name") if not params.key?(:k)
      end
    end
# Check required parameters to initialize Webpagetest
Check required parameters to initialize Webpagetest
Check required parameters to initialize Webpagetest
def required_params(params)
      if params.options.nil? || params.options.url.nil? || params.options.url == Connection::ENDPOINT
        raise_error("An API key must be specified using :k variable name") if not params.key?(:k)
      end
    end
def required_params ( params ) if params . options . nil? || params . options . url . nil? || params . options . url == Connection :: ENDPOINT raise_error ( "An API key must be specified using :k variable name" ) if not params . key? ( :k ) end end
Check required parameters to initialize Webpagetest
Check required parameters to initialize Webpagetest
params