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