class

ScalewayDDNS::Request

Inherits Reference < Object

Constants

SCW_API_HOST = "api.scaleway.com"

Constructors

new(scw_secret_key : String)
Source

Instance methods

address_record_list(domain : String) : Array(Hash(Symbol, String | Int32))

Get a list of A and AAAA records from the Scaleway API for a given domain.

Source
update_address_record(domain : String, ip : String, record : Hash(Symbol, String | Int32), record_type : String)

Update an address record (A or AAAA) in the Scaleway API for a given domain.

Source