Method: Component::Form::Cell#initialize

Defined in:
app/cells/lato_view/component/form/cell.rb

#initialize(url: '', method: :post, remote: false, multipart: false, custom_class: '') ⇒ Cell

Returns a new instance of Cell.



6
7
8
9
10
11
12
13
14
15
# File 'app/cells/lato_view/component/form/cell.rb', line 6

def initialize(url: '', method: :post, remote: false, multipart: false, custom_class: '')
 # save params
  @url = url
  @method = method
  @remote = remote
  @multipart = multipart
  @custom_class = custom_class
  # check params
  check_params
end