class Pdns::API::Endpoints::Servers

Defined in:

pdns/api/endpoints/servers.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pdns::API::Endpoint

new(api : API, base_path : String) new

Constructor Detail

def self.new(api) #

:inherit:


[View source]

Instance Method Detail

def get(server_id : String) : Server #

List a server


[View source]
def list : Array(Server) #

List all servers


[View source]
def with(id : String, &block : Scoped -> T) : T forall T #

[View source]