Method: FormAPI::AuthenticationError#list_invalid_properties

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

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



78
79
80
81
82
83
84
85
# File 'lib/form_api/models/authentication_error.rb', line 78

def list_invalid_properties
  invalid_properties = Array.new
  if @error.nil?
    invalid_properties.push('invalid value for "error", error cannot be nil.')
  end

  invalid_properties
end