getAdvice

private fun getAdvice(response: Response): PolicyAdvice


private fun getAdvice(location: String?): PolicyAdvice

Extract the Advice from the location redirect url

Return

Policy Advice or null if advice not found.

Parameters

location

The redirect location