Sha256: eb89ecff2e7df6318420fe855144f4014090dcb1dc4f541ed59ac4625e481760

Contents?: true

Size: 266 Bytes

Versions: 7

Compression:

Stored size: 266 Bytes

Contents

require 'aws-sdk'
Aws.use_bundled_cert!

module Smash
  module CloudPowers
    module Auth
      def self.creds
        @creds ||= Aws::Credentials.new(
          ENV['AWS_ACCESS_KEY_ID'],
          ENV['AWS_SECRET_ACCESS_KEY']
        )
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloud_powers-0.2.2 lib/cloud_powers/auth.rb
cloud_powers-0.2.1 lib/cloud_powers/auth.rb
cloud_powers-0.2 lib/cloud_powers/auth.rb
cloud_powers-0.1.5 lib/cloud_powers/auth.rb
cloud_powers-0.1.4 lib/cloud_powers/auth.rb
cloud_powers-0.1.3 lib/cloud_powers/auth.rb
cloud_powers-0.1.1 lib/cloud_powers/auth.rb