lib/hoth/providers/rack_provider.rb in hoth-0.3.2.beta4 vs lib/hoth/providers/rack_provider.rb in hoth-0.3.3
- old
+ new
@@ -7,15 +7,13 @@
def initialize(app=nil)
@app = app || lambda {|env| [404, {'Content-Type' => "text/plain"}, ["Nothing here!"]]}
end
def call(env)
- Hoth::Logger.debug "env: #{env.inspect}"
if env["PATH_INFO"] =~ /^\/execute/
begin
req = Rack::Request.new(env)
- Hoth::Logger.debug "req: #{req.inspect}"
service_name = req.params["name"]
service_params = req.params["params"]
raise EmptyServiceNameError.new("You must provide a service name!") if service_name.nil?
@@ -49,6 +47,6 @@
end
end
end
end
-end
\ No newline at end of file
+end