class Pdns::API

Defined in:

pdns/api.cr
pdns/api/endpoint.cr
pdns/api/endpoints/cache.cr
pdns/api/endpoints/cryptokeys.cr
pdns/api/endpoints/metadata.cr
pdns/api/endpoints/searching.cr
pdns/api/endpoints/servers.cr
pdns/api/endpoints/statistics.cr
pdns/api/endpoints/tsig_keys.cr
pdns/api/endpoints/zones.cr

Constant Summary

BASE_PATH = "/api/v1"

Constructors

Instance Method Summary

Constructor Detail

def self.new(host_uri : URI, api_key : String) #

Create a new API client


[View source]
def self.new(host_uri : String, api_key : String) #

Create a new API client


[View source]

Instance Method Detail

def servers : Endpoints::Servers #

[View source]