class StytchB2B::Client

def fraud_api_host(fraud_env)

def fraud_api_host(fraud_env)
  case fraud_env
  when %r{\Ahttps?://}
    # If this is a string that looks like a URL, assume it's an internal development URL.
    fraud_env
  else
    'https://telemetry.stytch.com'
  end
end