1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-08-07 22:33:55 +02:00

updater: improve parameter name

This commit is contained in:
cn
2020-07-18 14:45:56 +02:00
parent 33b8325a92
commit 0cec44893d
2 changed files with 11 additions and 11 deletions

View File

@@ -4,11 +4,11 @@ module Dyndnsd
module Updater
class CommandWithBindZone
# @param domain [String]
# @param config [Hash{String => Object}]
def initialize(domain, config)
@zone_file = config['zone_file']
@command = config['command']
@generator = Generator::Bind.new(domain, config)
# @param updater_params [Hash{String => Object}]
def initialize(domain, updater_params)
@zone_file = updater_params['zone_file']
@command = updater_params['command']
@generator = Generator::Bind.new(domain, updater_params)
end
# @param db [Dyndnsd::Database]