class Hetzner::Client

Defined in:

hetzner/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(token : Nil | String) #

[View source]

Instance Method Detail

def delete(path, id) #

[View source]
def get(path, params : Hash = {} of Symbol => String | Bool | Nil) : String #

[View source]
def locations : Array(Location) #

[View source]
def post(path, params = {} of KeyType => ValueType) #

[View source]
def put(path, params = {} of KeyType => ValueType) #

[View source]
def server_types : Array(ServerType) #

[View source]
def token : String | Nil #

[View source]