Module: Reform::Form::Call

Included in:
Reform::Form
Defined in:
lib/reform/form/call.rb

Defined Under Namespace

Classes: Result

Instance Method Summary collapse

Instance Method Details

#call(params, &block) ⇒ Object



2
3
4
5
6
# File 'lib/reform/form/call.rb', line 2

def call(params, &block)
  bool = validate(params, &block)

  Result.new(bool, self)
end