Method: FormAPI::SubmissionBatch#valid?
- Defined in:
- lib/form_api/models/submission_batch.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
143 144 145 146 147 |
# File 'lib/form_api/models/submission_batch.rb', line 143 def valid? state_validator = EnumAttributeValidator.new('String', ['pending', 'processed', 'error']) return false unless state_validator.valid?(@state) true end |