Sha256: 9225740b51c1b0d23259b032318f23e1c1878ca30ec61f836f725b92c02ec5e4

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

module Capybara::Json::Driver
  class Base
    %w[ get post put patch delete get! post! put! patch! delete!
        reset!
        current_url
        raw_json json source body response_headers status_code
    ].each do |method|
      define_method(method) do
        raise NotImplementedError
      end
    end
    def needs_server?; false; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-json-0.4.0 lib/capybara/json/driver/base.rb