lib/qbt_client/web_ui.rb
def set_location(torrent_hashes, path)
      torrent_hashes = Array(torrent_hashes)
      torrent_hashes = torrent_hashes.join('|')

      options = {
        body: { "hashes" => torrent_hashes, "location" => path },
      }

      self.class.post('/command/setLocation', options)
    end
def set_location(torrent_hashes, path)
      torrent_hashes = Array(torrent_hashes)
      torrent_hashes = torrent_hashes.join('|')

      options = {
        body: { "hashes" => torrent_hashes, "location" => path },
      }

      self.class.post('/command/setLocation', options)
    end
Set location for a torrent