Class: Formatic::File
- Inherits:
-
Base
- Object
- ViewComponent::Base
- ApplicationComponent
- Base
- Formatic::File
- Defined in:
- app/components/formatic/file.rb
Overview
File upload
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
#input_name, #param_key, #value, #wrapper
Methods inherited from ApplicationComponent
Constructor Details
This class inherits a constructor from Formatic::ApplicationComponent
Instance Method Details
#data ⇒ Object
35 36 37 |
# File 'app/components/formatic/file.rb', line 35 def data { entries: entries_json }.merge(manual_data) end |