module Dripper
Constants
- VERSION
Public Class Methods
config(opts={}, &block)
click to toggle source
# File lib/dripper_mail.rb, line 14 def self.config(opts={}, &block) # avoid connecting to the database during precompilation # https://medium.com/@kusumandaru/solve-initializer-is-trying-to-connect-db-on-rake-assets-precompile-4ff02d0c2a0b unless ARGV.include? "assets:precompile" DripperProxy.new(opts, &block) @registry.each do |r| r.register end end end
execute()
click to toggle source
# File lib/dripper_mail.rb, line 25 def self.execute @registry.each do |d| d.execute end end
registry()
click to toggle source
# File lib/dripper_mail.rb, line 10 def self.registry @registry end