Closed jonmagic closed 10 years ago
I just wanted to abstract away the Mailchimp service in case we end up switching services someday. This class gives a nice API to use in the controller.
EmailList.announcements.subscribe("jonmagic@gmail.com")
@mikefowler let me know what you think, I'll add tests and actually make it all work if you like the approach.
@jonmagic: totally, this looks great. I was hoping you'd have suggestions for my newbie Rails code :+1:
Ok, this is done and tested, ready to merge into your PR if you like the refactor.
I just wanted to abstract away the Mailchimp service in case we end up switching services someday. This class gives a nice API to use in the controller.
@mikefowler let me know what you think, I'll add tests and actually make it all work if you like the approach.