Class: BitClust::Interface::CGI
- Defined in:
- lib/bitclust/interface.rb
Direct Known Subclasses
Instance Method Summary collapse
- #do_GET(wreq, wres) ⇒ Object (also: #do_POST)
- #main(handler) ⇒ Object
Instance Method Details
#do_GET(wreq, wres) ⇒ Object Also known as: do_POST
63 64 65 |
# File 'lib/bitclust/interface.rb', line 63 def do_GET(wreq, wres) @handler.handle(wreq).update wres end |
#main(handler) ⇒ Object
58 59 60 61 |
# File 'lib/bitclust/interface.rb', line 58 def main(handler) @handler = handler start end |