Method: Eye::Notify::AWSSDK#execute
- Defined in:
- lib/eye/notify/awssdk.rb
#execute ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/eye/notify/awssdk.rb', line 24 def execute = { region: "us-east-1" } # default to us-east-1 [:region] = region if region [:credentials] = Aws::Credentials.new(access_key_id, secret_access_key) if access_key_id && secret_access_key client = Aws::SES::Client.new() client.send_email() end |