Module: Lotus::Mailer::Glue Private
- Defined in:
- lib/lotus/mailer/glue.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #delivery(&blk) ⇒ Object private
Instance Method Details
#delivery(&blk) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
50 51 52 53 |
# File 'lib/lotus/mailer/glue.rb', line 50 def delivery(&blk) raise ArgumentError unless block_given? delivery_method(*Lotus::Mailer::Delivery.new(Lotus.env, &blk).to_config) end |