Class: Scanny::Checks::MassAssignmentCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::MassAssignmentCheck
show all
- Defined in:
- lib/scanny/checks/mass_assignment_check.rb
Instance Method Summary
collapse
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
8
9
10
|
# File 'lib/scanny/checks/mass_assignment_check.rb', line 8
def check(node)
issue :high, warning_message, :cwe => 642
end
|
#pattern ⇒ Object
4
5
6
|
# File 'lib/scanny/checks/mass_assignment_check.rb', line 4
def pattern
pattern_create_object_from_params
end
|