Esempio n. 1
0
        public AuthTests()
        {
            Http = new HttpStub();

            Connection = new IS24Connection
            {
                HttpFactory = new HttpFactory(Http),
                BaseUrlPrefix = @"http://rest.sandbox-immobilienscout24.de/restapi/api",
                ConsumerKey = "ConsumerKey",
                ConsumerSecret = "ConsumerSecret"
            };
        }
Esempio n. 2
0
        public TestBase(string baseUrlPrefix)
        {
            Http = new HttpStub();

            var connection = new IS24Connection
            {
                HttpFactory       = new HttpFactory(Http),
                BaseUrlPrefix     = baseUrlPrefix,
                AccessToken       = "AccessToken",
                AccessTokenSecret = "AccessTokenSecret",
                ConsumerKey       = "ConsumerKey",
                ConsumerSecret    = "ConsumerSecret"
            };

            Client = new ImportExportClient(connection);
        }
Esempio n. 3
0
        public TestBase(string baseUrlPrefix)
        {
            Http = new HttpStub();

            var connection = new IS24Connection
            {
                HttpFactory = new HttpFactory(Http),
                BaseUrlPrefix = baseUrlPrefix,
                AccessToken = "AccessToken",
                AccessTokenSecret = "AccessTokenSecret",
                ConsumerKey = "ConsumerKey",
                ConsumerSecret = "ConsumerSecret"
            };

            Client = new ImportExportClient(connection);
        }