Class: Inputs::Dropzone::Cell
- Inherits:
-
Cell
- Object
- Cell
- Inputs::Dropzone::Cell
- Defined in:
- app/cells/lato_core/inputs/dropzone/cell.rb
Constant Summary collapse
- @@requested_args =
[:url]
- @@default_args =
{ param_name: 'file', max_size: 2, # MB max_files: 99, method: 'post', label: '' }
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Cell
constructor
A new instance of Cell.
- #show ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Cell
Returns a new instance of Cell.
15 16 17 18 19 20 21 22 23 |
# File 'app/cells/lato_core/inputs/dropzone/cell.rb', line 15 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#show ⇒ Object
25 26 27 |
# File 'app/cells/lato_core/inputs/dropzone/cell.rb', line 25 def show render 'show.html' end |