Open rhodrid opened 3 months ago
When one has a Contact attribute of type multiple-choice fetching the list of attributes using get_attributes fails with the following error:
multiple-choice
get_attributes
ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
I suspect it's emanating from this line https://github.com/getbrevo/brevo-ruby/blob/main/lib/brevo/models/get_attributes_attributes.rb#L147
When one has a Contact attribute of type
multiple-choice
fetching the list of attributes usingget_attributes
fails with the following error:ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
I suspect it's emanating from this line https://github.com/getbrevo/brevo-ruby/blob/main/lib/brevo/models/get_attributes_attributes.rb#L147