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.
183 184 185 186 |
# File 'app/services/hyrax/access_control_list.rb', line 183 def initialize(acl, mode) @acl = acl @mode = mode.to_sym end |