Exemple #1
0
        public void GetAccountInfo()
        {
            var rester = new Api.Rest.Account("**Put.io API Key**");

            rester.GetAccountInfo(response =>
            {
                Assert.IsNotNull(response);
                Assert.IsNotNull(response.Data);
                Assert.IsNotNull(response.Data.Info);

                Assert.IsTrue(response.Data.SafeToContinue());
                EnqueueTestComplete();
            });
        }
Exemple #2
0
        public void GetAccountInfo()
        {
            var rester = new Api.Rest.Account("**Put.io API Key**");

            rester.GetAccountInfo(response =>
            {
                Assert.IsNotNull(response);
                Assert.IsNotNull(response.Data);
                Assert.IsNotNull(response.Data.Info);

                Assert.IsTrue(response.Data.SafeToContinue());
                EnqueueTestComplete();
            });
        }