Class: ScanEvent
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ScanEvent
- 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
- #activation_type ⇒ Object
- #ionization ⇒ Object
- #mass_analyzer ⇒ Object
- #ms_level ⇒ Object
- #polarity ⇒ Object
- #scan_event_id ⇒ Object
- #scan_type ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/scan_event.rb', line 11 def self.primary_key :ScanEventID end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/scan_event.rb', line 8 def self.table_name :ScanEvents end |
Instance Method Details
#activation_type ⇒ Object
32 33 34 |
# File 'lib/msf/models/scan_event.rb', line 32 def activation_type self.ActivationType end |
#ionization ⇒ Object
26 27 28 |
# File 'lib/msf/models/scan_event.rb', line 26 def ionization self.Ionization end |
#mass_analyzer ⇒ Object
29 30 31 |
# File 'lib/msf/models/scan_event.rb', line 29 def mass_analyzer self.MassAnalyzer end |
#ms_level ⇒ Object
17 18 19 |
# File 'lib/msf/models/scan_event.rb', line 17 def ms_level self.MSLevel end |
#polarity ⇒ Object
20 21 22 |
# File 'lib/msf/models/scan_event.rb', line 20 def polarity self.Polarity end |
#scan_event_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/scan_event.rb', line 14 def scan_event_id self.ScanEventID end |
#scan_type ⇒ Object
23 24 25 |
# File 'lib/msf/models/scan_event.rb', line 23 def scan_type self.ScanType end |