Sha256: d9e2e28dd7d319246360437d3631298aae26a3143d2a11539562a323c16ff819

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

module Outliers
  module Providers
    module Aws
      class Ec2 < Provider

        include Shared

        def self.credential_arguments
          Shared.credential_arguments
        end

        def connect
          logger.info "Connecting to region '#{@region}'." unless @ec2
          @ec2 ||= ::AWS::EC2.new config
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
outliers-0.2.0 lib/outliers/providers/aws/ec2.rb
outliers-0.1.1 lib/outliers/providers/aws/ec2.rb
outliers-0.1.0 lib/outliers/providers/aws/ec2.rb
outliers-0.0.1 lib/outliers/providers/aws/ec2.rb