Method: MoneyKit::ValidationError#valid?
- Defined in:
- lib/moneykit/models/validation_error.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
111 112 113 114 115 116 117 |
# File 'lib/moneykit/models/validation_error.rb', line 111 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @location.nil? return false if .nil? return false if @type.nil? true end |