Class: Eye::Notify::SES
- Inherits:
-
Eye::Notify
- Object
- Eye::Notify
- Eye::Notify::SES
- Defined in:
- lib/eye/notify/ses.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 |
# File 'lib/eye/notify/ses.rb', line 9 def execute AWS::SES::Base.new( access_key_id: access_key_id, secret_access_key: secret_access_key ).send_email() end |
#message ⇒ Object
15 16 17 18 19 20 |
# File 'lib/eye/notify/ses.rb', line 15 def { to: contact, from: from, subject: , text_body: } end |