Sha256: 7f2dd7935b19b1b22f089e17d316d0fd129ced9c5921ce7bc132a3f247ca644a

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require 'aws-sdk'

module AwsDump
  class RDSInstance < Hash
    def initialize(parent, rds)
      @parent = parent
      @rds = rds
      self[:id] = @rds.id
      self[:name] = @rds.db_name
      self[:address] = @rds.endpoint_address
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws_dump-0.0.2 lib/aws_dump/rds_instance.rb