app/services/tus_client.rb
def build(base_url)
      server_url = URI.join(base_url, "/files").to_s

      new server_url, headers: generate_additional_headers
    end
# Build a client for the provided base URL.
#
# @example
#   client = TusClient.build "http://localhost:6222"
#
# @param [String] base_url
# @return [TusClient]
Build a client for the provided base URL.
Build a client for the provided base URL .
def build(base_url)
      server_url = URI.join(base_url, "/files").to_s
      new server_url, headers: generate_additional_headers
    end
def build ( base_url ) server_url = URI . join ( base_url , "/files" ) . to_s new server_url , headers : generate_additional_headers end
Build a client for the provided base URL.
Build a client for the provided base URL .
None
TusClient
base_url
None
example
None