3637: Operate only on selections within this container, even if clippy has more.
[arvados.git] / apps / workbench / app / helpers / arvados_api_client_helper.rb
1 module ArvadosApiClientHelper
2   def arvados_api_client
3     ArvadosApiClient.new_or_current
4   end
5 end
6
7 # For the benefit of themes that still expect $arvados_api_client to work:
8 class ArvadosClientProxyHack
9   def method_missing *args
10     ArvadosApiClient.new_or_current.send *args
11   end
12 end
13 $arvados_api_client = ArvadosClientProxyHack.new