Class: Lotus::Mailer::Delivery Private
- Inherits:
- Utils::BasicObject
- Defined in:
- lib/lotus/mailer/glue.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(env, &blk) ⇒ Delivery
constructor
private
A new instance of Delivery.
- #test(*args) ⇒ Object private
- #to_config ⇒ Object private
Constructor Details
#initialize(env, &blk) ⇒ Delivery
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.
Returns a new instance of Delivery.
9 10 11 12 |
# File 'lib/lotus/mailer/glue.rb', line 9 def initialize(env, &blk) @env = env instance_eval(&blk) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args) ⇒ Object (private)
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.
30 31 32 |
# File 'lib/lotus/mailer/glue.rb', line 30 def method_missing(m, *args) __setup_config(m, *args) end |
Instance Method Details
#test(*args) ⇒ 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.
22 23 24 |
# File 'lib/lotus/mailer/glue.rb', line 22 def test(*args) __setup_config(:test, *args) end |
#to_config ⇒ 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.
16 17 18 |
# File 'lib/lotus/mailer/glue.rb', line 16 def to_config @config end |