Sha256: ed862be9afb9dafdfe3f020db53ee410f2c5587efa7ab1de53779086c27cd842

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capybara-json-0.2.4 lib/capybara/json/driver/base.rb
capybara-json-0.2.3 lib/capybara/json/driver/base.rb
capybara-json-0.2.2 lib/capybara/json/driver/base.rb
capybara-json-0.2.1 lib/capybara/json/driver/base.rb