Beispiel #1
0
        public async Task ModifyAsync(bool isMuted)
        {
            var model = await _client.RequestClient
                        .SendAsync <Model>($"/v2/subscriptions/{Identifier}", HttpMethod.Post, new MutedParameter
            {
                IsMuted = isMuted
            }).ConfigureAwait(false);

            _model = model;
        }
Beispiel #2
0
 internal Subscription(Model model, PushBulletClient client)
 {
     _client = client;
     _model  = model;
 }