Sha256: fd78335843f2960f0d8f8ff1eb3591e952fdf630ed94f1fe562c23d909079c97

Contents?: true

Size: 373 Bytes

Versions: 10

Compression:

Stored size: 373 Bytes

Contents

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ufo-6.0.9 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.8 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.7 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.6 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.5 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.4 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.3 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.2 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.1 lib/ufo/task_definition/helpers/aws_data_helper.rb
ufo-6.0.0 lib/ufo/task_definition/helpers/aws_data_helper.rb