Class: ActivityPermissionEngine::AllowActivity::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/activity_permission_engine/allow_activity.rb

Instance Method Summary collapse

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

Returns:

  • (Boolean)


30
31
32
# File 'lib/activity_permission_engine/allow_activity.rb', line 30

def success?
  success
end