Method: ConstantContactClient::UpdateAccountRequest#list_invalid_properties

Defined in:
lib/constant_contact_client/models/update_account_request.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



158
159
160
161
162
163
164
165
166
# File 'lib/constant_contact_client/models/update_account_request.rb', line 158

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if !@contact_phone.nil? && @contact_phone.to_s.length > 25
    invalid_properties.push('invalid value for "contact_phone", the character length must be smaller than or equal to 25.')
  end

  invalid_properties
end