1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 module ArvadosApiClientHelper
7 ArvadosApiClient.new_or_current
11 # For the benefit of themes that still expect $arvados_api_client to work:
12 class ArvadosClientProxyHack
13 def method_missing *args
14 ArvadosApiClient.new_or_current.send *args
17 $arvados_api_client = ArvadosClientProxyHack.new