Sha256: f9415e6de7e2b30919ec5702cf795dcf4209cda2fe33392065119c728ef867c1
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
require "aws/ses" class Eye::Notify::SES < Eye::Notify param :access_key_id, String, true param :secret_access_key, String, true param :from, String, true def execute AWS::SES::Base.new( access_key_id: access_key_id, secret_access_key: secret_access_key ).send_email(message) end def message { to: contact, from: from, subject: message_subject, text_body: message_body } end end
Version data entries
5 entries across 5 versions & 1 rubygems