Class: Hyrax::AccessControlList::ModeEditor Abstract Private
- Inherits:
-
Object
- Object
- Hyrax::AccessControlList::ModeEditor
- Defined in:
- app/services/hyrax/access_control_list.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
This class is abstract.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(acl, mode) ⇒ ModeEditor
constructor
private
A new instance of ModeEditor.
Constructor Details
#initialize(acl, mode) ⇒ ModeEditor
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ModeEditor.
196 197 198 199 |
# File 'app/services/hyrax/access_control_list.rb', line 196 def initialize(acl, mode) @acl = acl @mode = mode.to_sym end |