Sha256: e2c3aef8f12a7e544a8630cd8d6e9850eaedf3014bb7b510a5e7176d0b678ec4
Contents?: true
Size: 438 Bytes
Versions: 34
Compression:
Stored size: 438 Bytes
Contents
module MailRoom module Delivery def [](name) require_relative("./delivery/#{name}") case name when "postback" Delivery::Postback when "logger" Delivery::Logger when "letter_opener" Delivery::LetterOpener when "sidekiq" Delivery::Sidekiq when "que" Delivery::Que else Delivery::Noop end end module_function :[] end end
Version data entries
34 entries across 34 versions & 2 rubygems