Exception: Snov::InvalidResponseError
- Defined in:
- lib/snov.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, _response = nil) ⇒ InvalidResponseError
constructor
A new instance of InvalidResponseError.
Constructor Details
#initialize(message, _response = nil) ⇒ InvalidResponseError
Returns a new instance of InvalidResponseError.
10 11 12 13 |
# File 'lib/snov.rb', line 10 def initialize(, _response = nil) self.response = nil super() end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
8 9 10 |
# File 'lib/snov.rb', line 8 def response @response end |