Exemplo n.º 1
0
        public async void Test_Recur()
        {
            const string EveryMinute = "*/1 * * * *";

            var request = new RecurringBundleRequest(EveryMinute);

            request.MailMessages.Add(NewMailMessage());
            request.HttpRequests.Add(NewHttpRequestMessage());
            request.ApexnetPushNotifications.Add(NewApexnetPushNotification());

            var response = await this.client.RecurAsync(request)
                                     .ConfigureAwait(false);

            Assert.NotNull(response.Id);
        }
Exemplo n.º 2
0
 public Task <EnqueuedResponse> RecurAsync(RecurringBundleRequest request)
 {
     return(this.httpService.CreateAsync <RecurringBundleRequest, EnqueuedResponse>("recur", request, null));
 }
Exemplo n.º 3
0
 public Task<EnqueuedResponse> RecurAsync(RecurringBundleRequest request)
 {
     return this.httpService.CreateAsync<RecurringBundleRequest, EnqueuedResponse>("recur", request, null);
 }