Exception: Carddav::InvalidResponse
- Inherits:
-
Exception
- Object
- Exception
- Carddav::InvalidResponse
- Defined in:
- lib/carddav.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg = nil, response = nil) ⇒ InvalidResponse
constructor
A new instance of InvalidResponse.
Constructor Details
#initialize(msg = nil, response = nil) ⇒ InvalidResponse
Returns a new instance of InvalidResponse.
21 22 23 24 |
# File 'lib/carddav.rb', line 21 def initialize(msg = nil, response = nil) super msg @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
19 20 21 |
# File 'lib/carddav.rb', line 19 def response @response end |