Class: AwsDump::RDSInstance
- Inherits:
-
Hash
- Object
- Hash
- AwsDump::RDSInstance
- Defined in:
- lib/aws_dump/rds_instance.rb
Instance Method Summary collapse
-
#initialize(parent, rds) ⇒ RDSInstance
constructor
A new instance of RDSInstance.
Constructor Details
#initialize(parent, rds) ⇒ RDSInstance
Returns a new instance of RDSInstance.
5 6 7 8 9 10 11 |
# File 'lib/aws_dump/rds_instance.rb', line 5 def initialize(parent, rds) @parent = parent @rds = rds self[:id] = @rds.id self[:name] = @rds.db_name self[:address] = @rds.endpoint_address end |