Sha256: 99cddcd4f55a69dfdc73a9100bfee516126de972b2082f5e5a93485fa4da9614
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
module ActsAsNotifiableRedmine module Couriers 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_notifiable_redmine-0.1.1 | lib/acts_as_notifiable_redmine/couriers.rb |
acts_as_notifiable_redmine-0.1 | lib/acts_as_notifiable_redmine/couriers.rb |