mirror of
https://github.com/cmur2/dyndnsd.git
synced 2026-11-25 13:51:36 +01:00
gem: add solargraph support
This commit is contained in:
1 parent
6d0457d70c
commit
73dbf2a5fa
14 files changed
+145
-2
No files matched your search
@@ -2,12 +2,16 @@
|
||||
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)
|
||||
end
|
||||
|
||||
# @param db [Dyndnsd::Database]
|
||||
# @return [void]
|
||||
def update(db)
|
||||
Helper.span('updater_update') do |span|
|
||||
span.set_tag('dyndnsd.updater.name', self.class.name.split('::').last)
|
||||
|
||||
Reference in new issue
Block a user