Method: Propertyware::Adjustment#valid?
- Defined in:
- lib/propertyware/models/adjustment.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
183 184 185 186 187 |
# File 'lib/propertyware/models/adjustment.rb', line 183 def valid? return false if @amount.nil? return false if @date.nil? true end |