Class: AvoCli::Scanners::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/avo_cli/scanners/base.rb

Direct Known Subclasses

ResourceScanner

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path:, scan:) ⇒ Base

Returns a new instance of Base.



9
10
11
12
# File 'lib/avo_cli/scanners/base.rb', line 9

def initialize(path:, scan:)
  @path = path
  @scan = scan
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



6
7
8
# File 'lib/avo_cli/scanners/base.rb', line 6

def path
  @path
end

#scanObject (readonly)

Returns the value of attribute scan.



7
8
9
# File 'lib/avo_cli/scanners/base.rb', line 7

def scan
  @scan
end