Class: Mailtrap::ActionMailer::DeliveryMethod
- Inherits:
-
Object
- Object
- Mailtrap::ActionMailer::DeliveryMethod
- Defined in:
- lib/mailtrap/action_mailer/delivery_method.rb
Constant Summary collapse
- ALLOWED_PARAMS =
%i[api_key api_host api_port bulk sandbox inbox_id].freeze
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #deliver!(message) ⇒ Object
-
#initialize(settings) ⇒ DeliveryMethod
constructor
A new instance of DeliveryMethod.
Constructor Details
#initialize(settings) ⇒ DeliveryMethod
Returns a new instance of DeliveryMethod.
10 11 12 |
# File 'lib/mailtrap/action_mailer/delivery_method.rb', line 10 def initialize(settings) self.settings = settings end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
6 7 8 |
# File 'lib/mailtrap/action_mailer/delivery_method.rb', line 6 def settings @settings end |