shorten mysql and postgres session resources

Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
Dominik Richter 2015-07-30 18:26:24 +02:00
parent 378a98797e
commit f51e89d3b1
2 changed files with 2 additions and 2 deletions

View file

@ -45,6 +45,6 @@ class MysqlSession < Vulcano::Resource
end end
end end
def start_mysql_session( user=nil, password=nil ) def mysql_session( user=nil, password=nil )
MysqlSession.new(user, password) MysqlSession.new(user, password)
end end

View file

@ -58,7 +58,7 @@ class PostgresSession
end end
def start_postgres_session( user, password ) def postgres_session( user, password )
PostgresSession.new(user, password) PostgresSession.new(user, password)
end end