Class: Reyes::SetPopulator
- Inherits:
-
Object
- Object
- Reyes::SetPopulator
- Includes:
- Chalk::Log
- Defined in:
- lib/reyes/set_manager.rb
Instance Attribute Summary collapse
-
#aws ⇒ Object
readonly
Returns the value of attribute aws.
Instance Method Summary collapse
-
#initialize(region, instance_id) ⇒ SetPopulator
constructor
A new instance of SetPopulator.
Constructor Details
#initialize(region, instance_id) ⇒ SetPopulator
Returns a new instance of SetPopulator.
7 8 9 10 11 12 |
# File 'lib/reyes/set_manager.rb', line 7 def initialize(region, instance_id) @aws = Reyes::AwsManager.new @instance_id = instance_id @instance = @aws.ec2(region).instances[instance_id] @our_groups = @instance.security_groups end |
Instance Attribute Details
#aws ⇒ Object (readonly)
Returns the value of attribute aws.
5 6 7 |
# File 'lib/reyes/set_manager.rb', line 5 def aws @aws end |