Class: Hyrax::AccessControlList::ModeEditor Abstract Private

Inherits:
Object
  • Object
show all
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

ModeGrant, ModeRevoke

Instance Method Summary collapse

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.



213
214
215
216
# File 'app/services/hyrax/access_control_list.rb', line 213

def initialize(acl, mode)
  @acl  = acl
  @mode = mode.to_sym
end