Method: Brevo::GetIpsFromSender#list_invalid_properties

Defined in:
lib/brevo/models/get_ips_from_sender.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



51
52
53
54
55
56
57
58
# File 'lib/brevo/models/get_ips_from_sender.rb', line 51

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

  invalid_properties
end