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