lib/mailkick.rb in mailkick-0.3.1 vs lib/mailkick.rb in mailkick-0.4.0
- old
+ new
@@ -1,15 +1,19 @@
+# dependencies
require "set"
require "active_support"
-require "mailkick/engine" if defined?(Rails)
+# modules
require "mailkick/model"
require "mailkick/service"
require "mailkick/service/mailchimp"
require "mailkick/service/mailgun"
require "mailkick/service/mandrill"
require "mailkick/service/sendgrid"
require "mailkick/version"
+
+# integrations
+require "mailkick/engine" if defined?(Rails)
module Mailkick
mattr_accessor :services, :user_method, :secret_token, :mount
self.services = []
self.user_method = ->(email) { User.where(email: email).first rescue nil }