Sha256: afa9f64cf3600d5adee08dc72dbaf2d61380e658f390487decc20a64cfba9e88

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

require 'aws-sdk-cloudformation'
require 'aws-sdk-ec2'
require 'aws-sdk-s3'

module Forger::AwsServices
  extend Memoist

  def cfn
    Aws::CloudFormation::Client.new
  end
  memoize :cfn

  def ec2
    Aws::EC2::Client.new
  end
  memoize :ec2

  def s3
    Aws::S3::Client.new
  end
  memoize :s3
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/aws_services.rb
forger-3.0.1 lib/forger/aws_services.rb
forger-3.0.0 lib/forger/aws_services.rb