Module: Sinatra::WebDAV::Request
Relationships & Source Files | |
Defined in: | sinatra-contrib/lib/sinatra/webdav.rb |
Class Method Summary
Instance Attribute Summary
- #copy? ⇒ Boolean readonly
- #mkcol? ⇒ Boolean readonly
- #move? ⇒ Boolean readonly
- #propfind? ⇒ Boolean readonly
- #proppatch? ⇒ Boolean readonly
-
#unlock? ⇒ Boolean
readonly
def lock? request_method == 'LOCK' end.
Class Method Details
.included(base)
[ GitHub ]Instance Attribute Details
#copy? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 66
def copy? request_method == 'COPY' end
#mkcol? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 62
def mkcol? request_method == 'MKCOL' end
#move? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 70
def move? request_method == 'MOVE' end
#propfind? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 54
def propfind? request_method == 'PROPFIND' end
#proppatch? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 58
def proppatch? request_method == 'PROPPATCH' end
#unlock? ⇒ Boolean
(readonly)
def lock? request_method == 'LOCK' end
# File 'sinatra-contrib/lib/sinatra/webdav.rb', line 78
def unlock? request_method == 'UNLOCK' end