Class: ADAssault::CLI::DNS::DUZDU::Check
Overview
command: ‘ada dns duzdu check`
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseAction
command_name, #initialize, register
Class Method Details
.arguments ⇒ Object
25
26
27
|
# File 'lib/adassault/cli/dns/duzdu/check.rb', line 25
def arguments
[]
end
|
.description ⇒ Object
17
18
19
|
# File 'lib/adassault/cli/dns/duzdu/check.rb', line 17
def description
'Check if unsecure dynamic updates are allowed (IPv4)'
end
|
.long_description ⇒ Object
21
22
23
|
# File 'lib/adassault/cli/dns/duzdu/check.rb', line 21
def long_description
''
end
|
Instance Method Details
#run(_args) ⇒ Object
11
12
13
14
|
# File 'lib/adassault/cli/dns/duzdu/check.rb', line 11
def run(_args)
res = @duz.checkv4
@duz.display(res, self.class.command_name)
end
|