Method: KlaviyoAPI::FailedAgeGateMethodFilter#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



90
91
92
93
94
# File 'lib/klaviyo-api-sdk/models/failed_age_gate_method_filter.rb', line 90

def valid?
  return false if @field.nil?
  return false if @method.nil?
  true
end