Class: ActiveModel::MassAssignmentSecurity::WhiteList

Inherits:
PermissionSet
  • Object
show all
Defined in:
lib/mongomodel/vendor/active_model/mass_assignment_security/permission_set.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from PermissionSet

#+, #include?

Instance Method Details

#deny?(key) ⇒ Boolean

Returns:


28
29
30
# File 'lib/mongomodel/vendor/active_model/mass_assignment_security/permission_set.rb', line 28

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