class Dns::CatalogZone::Provider::Knot::Template

Dns::CatalogZone::Provider::Knot::Template

Attributes

acls[RW]
id[RW]
masters[RW]
storage[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/dns/catalog_zone/provider/knot.rb, line 43
def initialize(hash)
  super(hash)
  @masters = []
  @acls = []
  @notifies = []
end

Public Instance Methods

add_acl(label) click to toggle source
# File lib/dns/catalog_zone/provider/knot.rb, line 50
def add_acl(label)
  @acls.push(label)
end
add_master(label) click to toggle source
# File lib/dns/catalog_zone/provider/knot.rb, line 54
def add_master(label)
  @masters.push(label)
end
add_notify(label) click to toggle source
# File lib/dns/catalog_zone/provider/knot.rb, line 58
def add_notify(label)
  @notifies.push(label)
end
print() click to toggle source