Exception: Ferrum::BrowserError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Ferrum::BrowserError
show all
- Defined in:
- lib/ferrum.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
47
48
49
50
|
# File 'lib/ferrum.rb', line 47
def initialize(response)
@response = response
super(response["message"])
end
|
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
45
46
47
|
# File 'lib/ferrum.rb', line 45
def response
@response
end
|
Instance Method Details
#code ⇒ Object
52
53
54
|
# File 'lib/ferrum.rb', line 52
def code
response["code"]
end
|
#data ⇒ Object
56
57
58
|
# File 'lib/ferrum.rb', line 56
def data
response["data"]
end
|