Sha256: 9f0667efd9105362653b9139042709cf02990a6a5ca960abbe2f5e2480f629a5

Contents?: true

Size: 377 Bytes

Versions: 22

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true
# ProxyRb
module ProxyRb
  # Drivers
  module Drivers
    # Basic Driver
    class BasicDriver
      # Configure driver
      def configure_driver
        ::Capybara.run_server = false
      end

      # Register proxy
      def register(_proxy)
        raise NoMethodError, 'You need to implement this in your driver'
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
proxy_rb-1.0.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.6 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.5 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.4 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.3 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.2 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.1 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.10.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.9.3 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.9.2 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.9.1 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.9.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.8.3 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.8.2 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.8.1 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.8.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.7.1 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.7.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.6.0 lib/proxy_rb/drivers/basic_driver.rb
proxy_rb-0.5.0 lib/proxy_rb/drivers/basic_driver.rb