Sha256: c3df6881b9afcfdeb6fbbb5e638015251a0e16a4ee33141f84526f26bd44d367

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

module AwsAlertMonitor
  module AWS
    class SES

      def send_email(args)
        ses.send_email :source      => args[:source],
                       :destination => args[:destination],
                       :message     => args[:message]
      end

      private

      def ses
        ::AWS::SimpleEmailService::Client.new 
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aws-alert-monitor-0.1.0 lib/aws-alert-monitor/aws/ses.rb
aws-alert-monitor-0.0.5 lib/aws-alert-monitor/aws/ses.rb
aws-alert-monitor-0.0.4 lib/aws-alert-monitor/aws/ses.rb
aws-alert-monitor-0.0.3 lib/aws-alert-monitor/aws/ses.rb
aws-alert-monitor-0.0.2 lib/aws-alert-monitor/aws/ses.rb
aws-alert-monitor-0.0.1 lib/aws-alert-monitor/aws/ses.rb