Exception: DAV4Rack::LockFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- DAV4Rack::LockFailure
- Defined in:
- lib/dav4rack/resource.rb
Instance Attribute Summary collapse
-
#path_status ⇒ Object
readonly
Returns the value of attribute path_status.
Instance Method Summary collapse
- #add_failure(path, status) ⇒ Object
-
#initialize(*args) ⇒ LockFailure
constructor
A new instance of LockFailure.
Constructor Details
#initialize(*args) ⇒ LockFailure
Returns a new instance of LockFailure.
8 9 10 11 |
# File 'lib/dav4rack/resource.rb', line 8 def initialize(*args) super(*args) @path_status = {} end |
Instance Attribute Details
#path_status ⇒ Object (readonly)
Returns the value of attribute path_status.
7 8 9 |
# File 'lib/dav4rack/resource.rb', line 7 def path_status @path_status end |
Instance Method Details
#add_failure(path, status) ⇒ Object
13 14 15 |
# File 'lib/dav4rack/resource.rb', line 13 def add_failure(path, status) @path_status[path] = status end |