Class: ScanTemplate::Web
- Inherits:
-
Domain::Model
- Object
- Domain::Model
- ScanTemplate::Web
- Defined in:
- lib/domain/scan_template/model.rb
Defined Under Namespace
Classes: Paths, Patterns, Performance
Instance Attribute Summary collapse
-
#dont_scan_multi_use_devices ⇒ Object
Returns the value of attribute dont_scan_multi_use_devices.
-
#include_query_strings ⇒ Object
Returns the value of attribute include_query_strings.
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#patterns ⇒ Object
Returns the value of attribute patterns.
-
#performance ⇒ Object
Returns the value of attribute performance.
-
#test_common_usernames_and_passwords ⇒ Object
Returns the value of attribute test_common_usernames_and_passwords.
-
#test_xss_in_single_scan ⇒ Object
Returns the value of attribute test_xss_in_single_scan.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Web
constructor
A new instance of Web.
Methods inherited from Domain::Model
columns, from_csv, from_json, headers, primary_key, table_name, #to_csv, #to_hash, #to_s, view
Constructor Details
#initialize(attributes = {}) ⇒ Web
Returns a new instance of Web.
112 113 114 115 116 117 |
# File 'lib/domain/scan_template/model.rb', line 112 def initialize(attributes = {}) @paths = Paths.new(attributes[:paths]) if attributes[:paths] @patterns = Patterns.new(attributes[:patterns]) if attributes[:patterns] @performance = Performance.new(attributes[:performance]) if attributes[:performance] super(attributes) end |
Instance Attribute Details
#dont_scan_multi_use_devices ⇒ Object
Returns the value of attribute dont_scan_multi_use_devices.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def dont_scan_multi_use_devices @dont_scan_multi_use_devices end |
#include_query_strings ⇒ Object
Returns the value of attribute include_query_strings.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def include_query_strings @include_query_strings end |
#paths ⇒ Object
Returns the value of attribute paths.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def paths @paths end |
#patterns ⇒ Object
Returns the value of attribute patterns.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def patterns @patterns end |
#performance ⇒ Object
Returns the value of attribute performance.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def performance @performance end |
#test_common_usernames_and_passwords ⇒ Object
Returns the value of attribute test_common_usernames_and_passwords.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def test_common_usernames_and_passwords @test_common_usernames_and_passwords end |
#test_xss_in_single_scan ⇒ Object
Returns the value of attribute test_xss_in_single_scan.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def test_xss_in_single_scan @test_xss_in_single_scan end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
108 109 110 |
# File 'lib/domain/scan_template/model.rb', line 108 def user_agent @user_agent end |