module Proxy::Dynflow::Helpers

Public Instance Methods

relay_request(from = %r{^/dynflow}, to = '') click to toggle source
# File lib/smart_proxy_dynflow/helpers.rb, line 4
def relay_request(from = %r{^/dynflow}, to = '')
  response = Proxy::Dynflow::Callback::Core.relay(request, from, to)
  content_type response.content_type
  status response.code
  body response.body
end