예제 #1
0
        public IObservable <Page> Get(string owner, string name)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
            Ensure.ArgumentNotNullOrEmptyString(name, "name");

            return(_client.Get(owner, name).ToObservable());
        }
예제 #2
0
            public async Task ReturnsMetadata()
            {
                var data = await _repositoryPagesClient.Get(owner, name);

                Assert.Equal("https://api.github.com/repos/Sniper/Sniper.net/pages", data.Url);
            }