SetNotifyURL() public method

Sets the notification URL of the assembly, which will be requested after assembly is completed
public SetNotifyURL ( string notifyURL ) : void
notifyURL string Notification URL (e.g.: 'http://my.domain.me/application')
return void
        public void InvokeAssemblyWithNotifyUrl()
        {
            ITransloadit transloadit = new Transloadit.Transloadit();
            IAssemblyBuilder assembly = new AssemblyBuilder();
            assembly.SetNotifyURL("http://my.localhost");
            TransloaditResponse response = transloadit.InvokeAssembly(assembly);

            Assert.IsTrue((string)response.Data["ok"] == "ASSEMBLY_COMPLETED" || (string)response.Data["ok"] == "ASSEMBLY_EXECUTING");
        }
        public void InvokeAssemblyWithNotifyUrl()
        {
            ITransloadit transloadit = new Transloadit.Transloadit("YOUR-PUBLIC-API-KEY", "YOUR-SECRET-KEY");
            IAssemblyBuilder assembly = new AssemblyBuilder();
            IStep step = new Transloadit.Assembly.Step();

            assembly.SetNotifyURL("http://my.localhost");
            step.SetOption("robot", "/image/resize");
            assembly.AddStep("step", step);

            TransloaditResponse response = transloadit.InvokeAssembly(assembly);

            Assert.IsTrue((string)response.Data["ok"] == "ASSEMBLY_COMPLETED" || (string)response.Data["ok"] == "ASSEMBLY_EXECUTING");
        }