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) #

[View source]
def instance_types : Array(InstanceType) #

[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 token : String | Nil #

[View source]