Method: Onfido::WorkflowRunShared#valid?
- Defined in:
- lib/onfido/models/workflow_run_shared.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
153 154 155 156 157 158 159 160 |
# File 'lib/onfido/models/workflow_run_shared.rb', line 153 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @applicant_id.nil? return false if @workflow_id.nil? return false if !@tags.nil? && @tags.length > 30 return false if !@customer_user_id.nil? && @customer_user_id.to_s.length > 256 true end |