Sha256: 90e6e0ef83be69c776abee4280cd7d9e57bcf0036f4082b853c817c3db8710e8
Contents?: true
Size: 473 Bytes
Versions: 18
Compression:
Stored size: 473 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 Eye::Notify::TYPES[:ses] = "SES"
Version data entries
18 entries across 18 versions & 1 rubygems