lib/eco/api/common/session/mailer.rb in eco-helpers-2.4.9 vs lib/eco/api/common/session/mailer.rb in eco-helpers-2.5.1

- old
+ new

@@ -1,7 +1,5 @@ -require 'aws-sdk-ses' - module Eco module API module Common module Session class Mailer @@ -40,10 +38,11 @@ end private def ses + require 'aws-sdk-ses' begin @ses ||= Aws::SES::Client.new( access_key_id: fetch_access_key_id, secret_access_key: fetch_secret_access_key, region: fetch_region @@ -96,10 +95,9 @@ end def fetch_message_id_domain config.mailer.message_id_domain end - end end end end end