Sha256: 30933fe336477a4118cf0cdd1fb980a6bd9199477c12292212cb25302bebe98b

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

# Dont name AwsData. Think prefer AwsInfo vs AwsConcern
module Lono::Concerns
  module AwsInfo
    extend Memoist
    delegate :region, to: :aws_data
    alias_method :aws_region, :region
    alias_method :current_region, :region

    def aws_data
      AwsData.new
    end
    memoize :aws_data
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc6 lib/lono/concerns/aws_info.rb
lono-8.0.0.pre.rc5 lib/lono/concerns/aws_info.rb
lono-8.0.0.pre.rc4 lib/lono/concerns/aws_info.rb
lono-8.0.0.pre.rc3 lib/lono/concerns/aws_info.rb