Class: BackupRestore::DatabaseConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/backup_restore.rb

Instance Attribute Summary collapse

Instance Attribute Details

#databaseObject

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



117
118
119
# File 'lib/backup_restore.rb', line 117

def database
  @database
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



117
118
119
# File 'lib/backup_restore.rb', line 117

def host
  @host
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



117
118
119
# File 'lib/backup_restore.rb', line 117

def password
  @password
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



117
118
119
# File 'lib/backup_restore.rb', line 117

def port
  @port
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



117
118
119
# File 'lib/backup_restore.rb', line 117

def username
  @username
end