Module: Proxy::Dynflow::Helpers

Defined in:
lib/smart_proxy_dynflow/helpers.rb

Instance Method Summary collapse

Instance Method Details

#relay_request(from = %r{^/dynflow}, to = '') ⇒ Object



4
5
6
7
8
9
# 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