Passbook.Generator.PassGeneratorRequest.WriteUrls C# (CSharp) Method

WriteUrls() private method

private WriteUrls ( JsonWriter writer ) : void
writer Newtonsoft.Json.JsonWriter
return void
        private void WriteUrls(JsonWriter writer)
        {
            if (!string.IsNullOrEmpty(AuthenticationToken))
            {
                writer.WritePropertyName("authenticationToken");
                writer.WriteValue(AuthenticationToken);
                writer.WritePropertyName("webServiceURL");
                writer.WriteValue(WebServiceUrl);
            }
        }