class
ScalewayDDNS::Config
- ScalewayDDNS::Config
- Reference
- Object
Overview
Configuration for the Scaleway DDNS program.
Can be loaded from environment variables and adjusted at runtime.
Defined in:
scaleway_ddns/config.crConstant Summary
-
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.
Instance Method Summary
-
#domain_list : Array(String)
List of domains whose address record needs to be updated.
-
#domain_list=(domain_list : Array(String))
List of domains whose address record needs to be updated.
-
#enable_ipv4=(enable_ipv4 : Bool)
Enables IPv4 address updates.
-
#enable_ipv4? : Bool
Enables IPv4 address updates.
-
#enable_ipv6=(enable_ipv6 : Bool)
Enables IPv6 address updates.
-
#enable_ipv6? : Bool
Enables IPv6 address updates.
-
#idle_minutes : Int32
Number of minutes of inactivity between IP checks.
-
#idle_minutes=(idle_minutes : Int32)
Number of minutes of inactivity between IP checks.
-
#scw_secret_key : String
Secret key from Scaleway required for IP update.
-
#scw_secret_key=(scw_secret_key : String)
Secret key from Scaleway required for IP update.
Constructor Detail
Instance Method Detail
def domain_list=(domain_list : Array(String))
#
List of domains whose address record needs to be updated.