Class: ActivityPermissionEngine::DisallowActivity
- Inherits:
-
Object
- Object
- ActivityPermissionEngine::DisallowActivity
- Defined in:
- lib/activity_permission_engine/disallow_activity.rb
Defined Under Namespace
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(request, activities_registry = ActivityPermissionEngine.configuration.activity_permissions_registry) ⇒ DisallowActivity
constructor
A new instance of DisallowActivity.
Constructor Details
#initialize(request, activities_registry = ActivityPermissionEngine.configuration.activity_permissions_registry) ⇒ DisallowActivity
Returns a new instance of DisallowActivity.
3 4 5 6 |
# File 'lib/activity_permission_engine/disallow_activity.rb', line 3 def initialize(request, activities_registry = ActivityPermissionEngine.configuration.) @request = request @activities_registry = activities_registry end |