Sha256: a9a89d361299f09ae0d2e7c84fd2141a2680d1854c1f0aba27bfd23e0a860967

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

class AwsBackendBase
  attr_reader :aws_transport
  class << self; attr_accessor :aws_client_class end

  def initialize(inspec = nil)
    @aws_transport = inspec ? inspec.backend : nil
  end

  def aws_service_client
    aws_transport.aws_client(self.class.aws_client_class)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inspec-2.1.81 lib/resource_support/aws/aws_backend_base.rb
inspec-2.1.21 lib/resource_support/aws/aws_backend_base.rb
inspec-2.1.10 lib/resource_support/aws/aws_backend_base.rb
inspec-2.0.32 lib/resource_support/aws/aws_backend_base.rb
inspec-2.0.17 lib/resource_support/aws/aws_backend_base.rb