Class: DisposableCapitalForm

Inherits:
BaseForm show all
Defined in:
app/forms/disposable_capital_form.rb

Overview

A form object for the disposable capital question

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from BaseForm

attribute?, #export, new_ignoring_extras, #type, #valid?

Instance Attribute Details

#disposable_capitalInteger

Returns The disposable capital

Returns:

  • (Integer)

    The disposable capital


5
# File 'app/forms/disposable_capital_form.rb', line 5

attribute :disposable_capital, :strict_integer

Class Method Details

.typeSymbol

The form type

Returns:

  • (Symbol)

    :disposable_capital


14
15
16
# File 'app/forms/disposable_capital_form.rb', line 14

def self.type
  :disposable_capital
end