Class: Aptible::CLI::Helpers::Database::MockRdsDatabaseAccountShell

Inherits:
Struct
  • Object
show all
Defined in:
lib/aptible/cli/helpers/database.rb

Overview

MockRdsDatabaseAccountShell - there is no direct 1:1 mapping between accounts and external_aws_resources. Since this is coerced via app_external_aws_rds_connections, we use this struct to stub out those that are not found to be attached to any apps.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



19
20
21
# File 'lib/aptible/cli/helpers/database.rb', line 19

def created_at
  @created_at
end

#handleObject

Returns the value of attribute handle

Returns:

  • (Object)

    the current value of handle



19
20
21
# File 'lib/aptible/cli/helpers/database.rb', line 19

def handle
  @handle
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



19
20
21
# File 'lib/aptible/cli/helpers/database.rb', line 19

def id
  @id
end