Class: Calendav::RequestError
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(response) ⇒ RequestError
Returns a new instance of RequestError.
20 21 22 23 24 |
# File 'lib/calendav/errors.rb', line 20 def initialize(response) super response.status.to_s @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
18 19 20 |
# File 'lib/calendav/errors.rb', line 18 def response @response end |