mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-07-19 09:11:18 +02:00
gem: add solargraph support
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
module Dyndnsd
|
||||
module Generator
|
||||
class Bind
|
||||
# @param domain [String]
|
||||
# @param config [Hash{String => Object}]
|
||||
def initialize(domain, config)
|
||||
@domain = domain
|
||||
@ttl = config['ttl']
|
||||
@ -10,6 +12,8 @@ module Dyndnsd
|
||||
@additional_zone_content = config['additional_zone_content']
|
||||
end
|
||||
|
||||
# @param db [Dyndnsd::Database]
|
||||
# @return [String]
|
||||
def generate(db)
|
||||
out = []
|
||||
out << "$TTL #{@ttl}"
|
||||
|
Reference in New Issue
Block a user