public MockDnsimpleClient(string fixture)
        {
            Fixture = fixture;

            Accounts  = new AccountsService(this);
            Domains   = new DomainsService(this);
            Http      = new MockHttpService("v2", Fixture, BaseUrl);
            Identity  = new IdentityService(this);
            OAuth     = new OAuth2Service(Http);
            Registrar = new RegistrarService(this);
            Zones     = new ZonesService(this);
        }
Exemplo n.º 2
0
        public MockDnsimpleClient(string fixture)
        {
            Fixture   = fixture;
            UserAgent = "Testing user agent";

            Accounts          = new AccountsService(this);
            Certificates      = new CertificatesService(this);
            Contacts          = new ContactsService(this);
            Domains           = new DomainsService(this);
            Http              = new MockHttpService("v2", Fixture, BaseUrl);
            Identity          = new IdentityService(this);
            OAuth             = new OAuth2Service(Http);
            Registrar         = new RegistrarService(this);
            Services          = new ServicesService(this);
            Tlds              = new TldsService(this);
            Templates         = new TemplatesService(this);
            VanityNameServers = new VanityNameServersService(this);
            Webhooks          = new WebhooksService(this);
            Zones             = new ZonesService(this);
        }