lib/jets/aws_services.rb in jets-1.3.8 vs lib/jets/aws_services.rb in jets-1.3.9
- old
+ new
@@ -4,10 +4,11 @@
require "aws-sdk-lambda"
require "aws-sdk-s3"
require "aws-sdk-sts"
# Not used in Jets internally but convenient for shared resources
require "aws-sdk-sns"
+require "aws-sdk-sqs"
module Jets::AwsServices
autoload :StackStatus, 'jets/aws_services/stack_status'
include StackStatus
extend Memoist
@@ -44,9 +45,14 @@
def sns
Aws::SNS::Client.new
end
memoize :sns
+
+ def sqs
+ Aws::SQS::Client.new
+ end
+ memoize :sqs
def sts
Aws::STS::Client.new
end
memoize :sts