lundi 3 juillet 2017

Need Model side Unit Test

def terminal_access
unless terminal_access_key.present? $redis.set("#{self.user_name}_terminal_access_cache_key", {result: (mlodge_enter image description hereterminals + ltv_terminals + tv2g_terminals).flatten.as_json(only: [:app_cd, :gw_tid])}.to_json) end JSON(terminal_access_key)['result']

end

Aucun commentaire:

Enregistrer un commentaire