Exception: Capybara::Poltergeist::ClientError

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ClientError

Returns a new instance of ClientError.


9
10
11
# File 'lib/capybara/poltergeist/errors.rb', line 9

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response


7
8
9
# File 'lib/capybara/poltergeist/errors.rb', line 7

def response
  @response
end