Class: Mail::SES::OptionsBuilder
- Inherits:
-
Object
- Object
- Mail::SES::OptionsBuilder
- Defined in:
- lib/mail/ses/options_builder.rb
Overview
Builds options for Aws::SESV2::Client#send_email
Constant Summary collapse
- SES_FIELDS =
%i[ from_email_address from_email_address_identity_arn reply_to_addresses feedback_forwarding_email_address feedback_forwarding_email_address_identity_arn email_tags configuration_set_name ].freeze
Instance Method Summary collapse
-
#build ⇒ Object
Returns the options for Aws::SESV2::Client#send_email.
-
#initialize(message, options = {}) ⇒ OptionsBuilder
constructor
message - The Mail::Message object to be sent.
Constructor Details
#initialize(message, options = {}) ⇒ OptionsBuilder
message - The Mail::Message object to be sent. options - The Hash options which override any defaults
from the message.
18 19 20 21 |
# File 'lib/mail/ses/options_builder.rb', line 18 def initialize(, = {}) @message = @options = end |
Instance Method Details
#build ⇒ Object
Returns the options for Aws::SESV2::Client#send_email.
24 25 26 |
# File 'lib/mail/ses/options_builder.rb', line 24 def build .merge() end |