makes manager a HashWithIndifferentAccess

This commit is contained in:
Juanjo Bazán
2016-04-08 11:01:36 +02:00
parent 17a679b01f
commit 6f5a23bb4f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
class ManagerAuthenticator
def initialize(data={})
@manager = {login: data[:login], user_key: data[:clave_usuario], date: data[:fecha_conexion]}
@manager = {login: data[:login], user_key: data[:clave_usuario], date: data[:fecha_conexion]}.with_indifferent_access
end
def auth