Class: ActiveModel::MassAssignmentSecurity::WhiteList

Inherits:
PermissionSet show all
Includes:
Sanitizer
Defined in:
activemodel/lib/active_model/mass_assignment_security/permission_set.rb

Instance Attribute Summary

Attributes inherited from PermissionSet

#logger

Instance Method Summary (collapse)

Methods included from Sanitizer

#sanitize

Methods inherited from PermissionSet

#+, #include?

Instance Method Details

- (Boolean) deny?(key)



27
28
29
# File 'activemodel/lib/active_model/mass_assignment_security/permission_set.rb', line 27

def deny?(key)
  !include?(key)
end