Class: Pcrd::Config::Connection

Inherits:
Data
  • Object
show all
Defined in:
lib/pcrd/config/connection.rb

Instance Attribute Summary collapse

Instance Attribute Details

#databaseObject (readonly)

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



5
6
7
# File 'lib/pcrd/config/connection.rb', line 5

def database
  @database
end

#hostObject (readonly)

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



5
6
7
# File 'lib/pcrd/config/connection.rb', line 5

def host
  @host
end

#passwordObject (readonly)

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



5
6
7
# File 'lib/pcrd/config/connection.rb', line 5

def password
  @password
end

#portObject (readonly)

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



5
6
7
# File 'lib/pcrd/config/connection.rb', line 5

def port
  @port
end

#userObject (readonly)

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



5
6
7
# File 'lib/pcrd/config/connection.rb', line 5

def user
  @user
end