Import the module and set up an API client user agent:
Import the module and set up an API client user agent:
-<pre>
+{% codeblock as ruby %}
require 'arvados'
arv = Arvados.new(apiVersion: 'v1')
require 'arvados'
arv = Arvados.new(apiVersion: 'v1')
-</pre>
+{% endcodeblock %}
The SDK retrieves the list of API methods from the server at run time. Therefore, the set of available methods is determined by the server version rather than the SDK version.
The SDK retrieves the list of API methods from the server at run time. Therefore, the set of available methods is determined by the server version rather than the SDK version.