Do you use many social media providers in your app? You should know one pattern
Simple Factory pattern is about encapsulating object creation and it’s super helpful when you use many social media providers in your app to publish updates on user profile - http://pdabrowski.com/blog/ruby-on-rails/refactoring/simple-factory-pattern/
Post a comment