Class: ScanEvent

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/scan_event.rb

Overview

ActiveRecord model of MSF ScanEvent

Example:

ScanEvent.find(1)

ScanEvent.first.scan_type

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



11
12
13
# File 'lib/msf/models/scan_event.rb', line 11

def self.primary_key
  :ScanEventID
end

.table_nameObject



8
9
10
# File 'lib/msf/models/scan_event.rb', line 8

def self.table_name
  :ScanEvents
end

Instance Method Details

#activation_typeObject



32
33
34
# File 'lib/msf/models/scan_event.rb', line 32

def activation_type
  self.ActivationType
end

#ionizationObject



26
27
28
# File 'lib/msf/models/scan_event.rb', line 26

def ionization
  self.Ionization
end

#mass_analyzerObject



29
30
31
# File 'lib/msf/models/scan_event.rb', line 29

def mass_analyzer
  self.MassAnalyzer
end

#ms_levelObject



17
18
19
# File 'lib/msf/models/scan_event.rb', line 17

def ms_level
  self.MSLevel
end

#polarityObject



20
21
22
# File 'lib/msf/models/scan_event.rb', line 20

def polarity
  self.Polarity
end

#scan_event_idObject



14
15
16
# File 'lib/msf/models/scan_event.rb', line 14

def scan_event_id
  self.ScanEventID
end

#scan_typeObject



23
24
25
# File 'lib/msf/models/scan_event.rb', line 23

def scan_type
  self.ScanType
end