Module: MailHandler::AWS

Defined in:
lib/initializers/aws.rb

Overview

Initializes SES and SQS interfaces

Class Method Summary collapse

Class Method Details

.setup(config) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/initializers/aws.rb', line 5

def setup(config)
  require 'interfaces/sqs'
  require 'interfaces/ses'

  SES.setup config[:aws][:ses]
  SQS.setup config[:aws][:sqs]
end