Module: Sinatra::Async
- Defined in:
- lib/genesis/protocol/http/async_monkeypatch.rb
Overview
Monkey patch async to add some more methods
Instance Method Summary collapse
- #alink(path, opts = {}, &bk) ⇒ Object
- #apatch(path, opts = {}, &bk) ⇒ Object
- #aunlink(path, opts = {}, &bk) ⇒ Object
Instance Method Details
#alink(path, opts = {}, &bk) ⇒ Object
11 12 13 |
# File 'lib/genesis/protocol/http/async_monkeypatch.rb', line 11 def alink(path, opts = {}, &bk) aroute('LINK', path, opts, &bk) end |
#apatch(path, opts = {}, &bk) ⇒ Object
7 8 9 |
# File 'lib/genesis/protocol/http/async_monkeypatch.rb', line 7 def apatch(path, opts = {}, &bk) aroute('PATCH', path, opts, &bk) end |
#aunlink(path, opts = {}, &bk) ⇒ Object
15 16 17 |
# File 'lib/genesis/protocol/http/async_monkeypatch.rb', line 15 def aunlink(path, opts = {}, &bk) aroute('UNLINK', path, opts, &bk) end |