getbrevo / brevo-ruby

A fully-featured Ruby API client to interact with Brevo.
https://developers.brevo.com/
MIT License
4 stars 0 forks source link

Multiple choice contact attributes are not supported #7

Open rhodrid opened 3 months ago

rhodrid commented 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:

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