Method: Inspec::Resources::PostgresSession#initialize
- Defined in:
- lib/resources/postgres_session.rb
#initialize(user, pass, host = nil) ⇒ PostgresSession
Returns a new instance of PostgresSession.
43 44 45 46 47 |
# File 'lib/resources/postgres_session.rb', line 43 def initialize(user, pass, host = nil) @user = user || 'postgres' @pass = pass @host = host || 'localhost' end |