class Poisol::ExtendedServer
Public Instance Methods
do_GET(req,res)
click to toggle source
# File lib/poisol/server.rb, line 4 def do_GET req,res stub_response = Poisol::ResponseMapper.map(req) res.status = stub_response.status res.body = stub_response.body.to_json res.header.merge! stub_response.header end