def __init__(self, api_key, secret_key, ttl): super(_DNSMadeEasyLexiconClient, self).__init__() self.provider = dnsmadeeasy.Provider({ 'auth_username': api_key, 'auth_token': secret_key, 'ttl': ttl, })
def __init__(self, api_key, secret_key, ttl): super(_DNSMadeEasyLexiconClient, self).__init__() config = dns_common_lexicon.build_lexicon_config('dnsmadeeasy', { 'ttl': ttl, }, { 'auth_username': api_key, 'auth_token': secret_key, }) self.provider = dnsmadeeasy.Provider(config)
def __init__(self, api_key: str, secret_key: str, ttl: int) -> None: super().__init__() config = dns_common_lexicon.build_lexicon_config('dnsmadeeasy', { 'ttl': ttl, }, { 'auth_username': api_key, 'auth_token': secret_key, }) self.provider = dnsmadeeasy.Provider(config)