Class: Outliers::Providers::Aws::Ec2
- Inherits:
-
Outliers::Provider
- Object
- Outliers::Provider
- Outliers::Providers::Aws::Ec2
- Includes:
- Shared
- Defined in:
- lib/outliers/providers/aws/ec2.rb
Instance Attribute Summary
Attributes inherited from Outliers::Provider
Instance Method Summary collapse
Methods included from Shared
Methods inherited from Outliers::Provider
connect_to, #initialize, #logger, to_human
Constructor Details
This class inherits a constructor from Outliers::Provider
Instance Method Details
#connect ⇒ Object
8 9 10 11 |
# File 'lib/outliers/providers/aws/ec2.rb', line 8 def connect logger.debug "Connecting to region '#{@region}'." unless @ec2 @ec2 ||= ::AWS::EC2.new config end |