Sha256: 369bce4c09f3bb07397829c4bbfc244066465d6059ddb3ef9d41306ac2de685d

Contents?: true

Size: 294 Bytes

Versions: 9

Compression:

Stored size: 294 Bytes

Contents

require 'fog'

module Propono
  module Sqs
    private

    def sqs
      @sqs ||= Fog::AWS::SQS.new(
        :aws_access_key_id => Propono.config.access_key,
        :aws_secret_access_key => Propono.config.secret_key,
        :region => Propono.config.queue_region
      )
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
propono-0.10.0 lib/propono/components/sqs.rb
propono-0.9.1 lib/propono/components/sqs.rb
propono-0.9.0 lib/propono/components/sqs.rb
propono-0.8.2 lib/propono/components/sqs.rb
propono-0.8.0 lib/propono/components/sqs.rb
propono-0.7.0 lib/propono/components/sqs.rb
propono-0.6.3 lib/propono/components/sqs.rb
propono-0.6.1 lib/propono/components/sqs.rb
propono-0.6.0 lib/propono/components/sqs.rb