Sha256: 60e44fd7487ddafbc4bb790541eba773e29b6c9454f21edef52b019b99dce652

Contents?: true

Size: 354 Bytes

Versions: 7

Compression:

Stored size: 354 Bytes

Contents

module Ufo::TaskDefinition::Helpers
  module AwsHelper
    extend Memoist
    extend ActiveSupport::Concern

    included do
      delegate :account, :region, to: :aws
      alias_method :aws_region, :region
      alias_method :current_region, :region
    end

    # Duplicated in vars.rb
    def aws
      AwsData.new
    end
    memoize :aws
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ufo-6.2.0 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.5 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.4 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.3 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.2 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.1 lib/ufo/task_definition/helpers/aws_helper.rb
ufo-6.1.0 lib/ufo/task_definition/helpers/aws_helper.rb