Method: KlaviyoAPI::Timeframe#list_invalid_properties

Defined in:
lib/klaviyo-api-sdk/models/timeframe.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



90
91
92
93
94
95
96
97
# File 'lib/klaviyo-api-sdk/models/timeframe.rb', line 90

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

  invalid_properties
end