new InjectHelper()

Description

Defines and registers custom handlebar helper - inject

Methods


register() → {void}

Description

Registers inject helper

  • Define request and logger in the scope of the code helper context
  • Evaluate the response of the function passed in and return the resulting response object to HttpParser
Returns