module OpenvasCli
Provides a base from which to build objects that utilize the OpenvasCli
object. Includes support for ActiveModel validations and a helper method (extract_value_from) to assist in OpenVAS object implementations.
Public Class Methods
configuration()
click to toggle source
# File lib/openvas-cli.rb, line 4 def self.configuration @configuration ||= OpenvasCli::Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/openvas-cli.rb, line 8 def self.configure yield configuration if block_given? end
logger()
click to toggle source
# File lib/openvas-cli.rb, line 12 def self.logger @logger end
logger=(val)
click to toggle source
# File lib/openvas-cli.rb, line 16 def self.logger=(val) @logger = val end