Open Mange opened 1 year ago
The SendEmailRequest class accepts a headers: option, but the value provided will always be overwritten with an empty hash. See line 10 below:
SendEmailRequest
headers:
https://github.com/customerio/customerio-ruby/blob/5f310b8a57b33c8dc1dfdb37b14a8c618980f573/lib/customerio/requests/send_email_request.rb#L7-L11
Is this a typo for ||=?
||=
For now I'll work around it by modifying the returned object directly.
The
SendEmailRequest
class accepts aheaders:
option, but the value provided will always be overwritten with an empty hash. See line 10 below:https://github.com/customerio/customerio-ruby/blob/5f310b8a57b33c8dc1dfdb37b14a8c618980f573/lib/customerio/requests/send_email_request.rb#L7-L11
Is this a typo for
||=
?For now I'll work around it by modifying the returned object directly.