Class: ActivityPermissionEngine::CheckAuthorization::Response
- Inherits:
-
Object
- Object
- ActivityPermissionEngine::CheckAuthorization::Response
- Defined in:
- lib/activity_permission_engine/check_authorization.rb
Instance Attribute Summary collapse
-
#authorized ⇒ Object
readonly
Returns the value of attribute authorized.
Instance Method Summary collapse
- #authorized? ⇒ Boolean
-
#initialize(authorized) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(authorized) ⇒ Response
Returns a new instance of Response.
35 36 37 |
# File 'lib/activity_permission_engine/check_authorization.rb', line 35 def initialize() @authorized = end |
Instance Attribute Details
#authorized ⇒ Object (readonly)
Returns the value of attribute authorized.
43 44 45 |
# File 'lib/activity_permission_engine/check_authorization.rb', line 43 def @authorized end |
Instance Method Details
#authorized? ⇒ Boolean
39 40 41 |
# File 'lib/activity_permission_engine/check_authorization.rb', line 39 def end |