Sha256: 3a1cdf82635cadb77d86e643c79d20f0274fe9b6f9e8cf4efb400ac6f97683bd

Contents?: true

Size: 293 Bytes

Versions: 9

Compression:

Stored size: 293 Bytes

Contents

require 'fog'

module Propono
  module Sns
    private

    def sns
      @sns ||= Fog::AWS::SNS.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/sns.rb
propono-0.9.1 lib/propono/components/sns.rb
propono-0.9.0 lib/propono/components/sns.rb
propono-0.8.2 lib/propono/components/sns.rb
propono-0.8.0 lib/propono/components/sns.rb
propono-0.7.0 lib/propono/components/sns.rb
propono-0.6.3 lib/propono/components/sns.rb
propono-0.6.1 lib/propono/components/sns.rb
propono-0.6.0 lib/propono/components/sns.rb