Method: Kickflow::ProxyApprover#list_invalid_properties
- Defined in:
- lib/kickflow/models/proxy_approver.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/kickflow/models/proxy_approver.rb', line 150 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @created_at.nil? invalid_properties.push('invalid value for "created_at", created_at cannot be nil.') end if @updated_at.nil? invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.') end if @user.nil? invalid_properties.push('invalid value for "user", user cannot be nil.') end if @proxy_user.nil? invalid_properties.push('invalid value for "proxy_user", proxy_user cannot be nil.') end if @workflows.nil? invalid_properties.push('invalid value for "workflows", workflows cannot be nil.') end invalid_properties end |