lib/thebigdb/request.rb in thebigdb-1.3.0 vs lib/thebigdb/request.rb in thebigdb-1.4.0

- old
+ new

@@ -86,10 +86,10 @@ # Executing callback TheBigDB.before_request_execution.call(self) # Here is where the request is actually executed - @http_response = @http.request(@http_request) + @http_response = TheBigDB.http_request_executor.call(@http, @http_request) # Setting @response begin # We parse the JSON answer and return it. @response = JSON(@http_response.body) \ No newline at end of file