Class: ActivityPermissionEngine::AllowActivity::Response
- Inherits:
-
Object
- Object
- ActivityPermissionEngine::AllowActivity::Response
- Defined in:
- lib/activity_permission_engine/allow_activity.rb
Instance Method Summary collapse
-
#initialize(success) ⇒ Response
constructor
A new instance of Response.
- #success? ⇒ Boolean
Constructor Details
#initialize(success) ⇒ Response
Returns a new instance of Response.
26 27 28 |
# File 'lib/activity_permission_engine/allow_activity.rb', line 26 def initialize(success) @success = success end |
Instance Method Details
#success? ⇒ Boolean
30 31 32 |
# File 'lib/activity_permission_engine/allow_activity.rb', line 30 def success? success end |