module ActsAsNotifiableRedmine::Couriers
Public Class Methods
factory(klass_name, &block)
click to toggle source
# File lib/acts_as_notifiable_redmine/couriers.rb, line 4 def self.factory(klass_name, &block) klass = "ActsAsNotifiableRedmine::Couriers::#{klass_name.to_s.capitalize}Courier".constantize klass.new(&block) rescue => e puts e.message nil end