Class: CurationConcerns::Forms::FileManagerForm
- Inherits:
-
Object
- Object
- CurationConcerns::Forms::FileManagerForm
- Includes:
- HydraEditor::Form
- Defined in:
- app/forms/curation_concerns/forms/file_manager_form.rb
Overview
Instance Attribute Summary collapse
- #current_ability ⇒ Object readonly
- #request ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(work, ability) ⇒ FileManagerForm
constructor
A new instance of FileManagerForm.
- #version ⇒ Object
Constructor Details
#initialize(work, ability) ⇒ FileManagerForm
Returns a new instance of FileManagerForm.
8 9 10 11 12 |
# File 'app/forms/curation_concerns/forms/file_manager_form.rb', line 8 def initialize(work, ability) super(work) @current_ability = ability @request = nil end |
Instance Attribute Details
#current_ability ⇒ Object (readonly)
7 8 9 |
# File 'app/forms/curation_concerns/forms/file_manager_form.rb', line 7 def current_ability @current_ability end |
#request ⇒ Object (readonly)
7 8 9 |
# File 'app/forms/curation_concerns/forms/file_manager_form.rb', line 7 def request @request end |
Instance Method Details
#version ⇒ Object
14 15 16 |
# File 'app/forms/curation_concerns/forms/file_manager_form.rb', line 14 def version model.etag end |