In my Ruby on Rails website, whenever user signup, they are automatically added to the mailing list. There is an option where user can update his/her email address. And I am trying to use Gibbon gem to make API calls to MailChimp, but unsure how to update email address of the already subscribed user.
I found this documentation from MailChimp which states it is possible to update: https://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/#edit-patch_lists_list_id_members_subscriber_hash
But the example is given in curl, can anyone guide how to use Gibbon gem in RoR to implement the same?
Appreciate any input.