Method: FormAPI::AuthenticationSuccessResponse#valid?

Defined in:
lib/form_api/models/authentication_success_response.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



77
78
79
80
81
# File 'lib/form_api/models/authentication_success_response.rb', line 77

def valid?
  status_validator = EnumAttributeValidator.new('String', ['success'])
  return false unless status_validator.valid?(@status)
  true
end