Class: IronDome::Reader

Inherits:
Object
  • Object
show all
Defined in:
lib/iron_dome/reader.rb

Overview

The Reader class is responsible for reading lock files from the project and generating SARIF reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Reader

Returns a new instance of Reader.



8
9
10
# File 'lib/iron_dome/reader.rb', line 8

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/iron_dome/reader.rb', line 6

def options
  @options
end

Instance Method Details

#callObject



12
13
14
# File 'lib/iron_dome/reader.rb', line 12

def call
  read_lock_file
end