class

ScalewayDDNS::Config

Inherits Reference < Object

Configuration for the Scaleway DDNS program.

Can be loaded from environment variables and adjusted at runtime.

Constants

FALSY_VALUES = ["false", "n", "no", "0", "off", "disabled", "none", "null", "nil", "", false, 0] of String | Bool | Int32

Falsy values for boolean environment parsing.

Constructors

new

Creates a new instance of ScalewayDDNS::Config based on environment variables.

Source

Instance methods

domain_list

List of domains whose address record needs to be updated.

Source
domain_list=(domain_list : Array(String))

List of domains whose address record needs to be updated.

Source
enable_ipv4=(enable_ipv4 : Bool)

Enables IPv4 address updates.

Source
enable_ipv4?

Enables IPv4 address updates.

Source
enable_ipv6=(enable_ipv6 : Bool)

Enables IPv6 address updates.

Source
enable_ipv6?

Enables IPv6 address updates.

Source
idle_minutes

Number of minutes of inactivity between IP checks.

Source
idle_minutes=(idle_minutes : Int32)

Number of minutes of inactivity between IP checks.

Source
scw_secret_key

Secret key from Scaleway required for IP update.

Source
scw_secret_key=(scw_secret_key : String)

Secret key from Scaleway required for IP update.

Source