Class: AppPolicy
- Inherits:
-
Object
- Object
- AppPolicy
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/models/app_policy.rb
Overview
Base class for an app policy
Direct Known Subclasses
AppShieldPolicy, AuthorizedUserPolicy, PinCodePolicy, TimeBombPolicy, VersionManagementPolicy
Instance Method Summary collapse
-
#enforce_policy(_agent) ⇒ Object
return the policy hash for this agent.
Instance Method Details
#enforce_policy(_agent) ⇒ Object
return the policy hash for this agent
21 22 23 |
# File 'lib/models/app_policy.rb', line 21 def enforce_policy(_agent) {} end |