Sha256: 99117cc67d3dfa3160d0a40af8cb349e2ddce0bc98a4bbf91c49438cdb78117a
Contents?: true
Size: 463 Bytes
Versions: 22
Compression:
Stored size: 463 Bytes
Contents
Server.api :list_client_docs, :client do |params,user| c = Client.load(params[:client_id],{:source_name => params[:source_id]}) res = {} [:cd,:cd_size,:create,:update,:delete, :page,:delete_page,:create_links,:create_links_page,:page_token, :create_errors,:update_errors,:delete_errors,:login_error,:logoff_error, :search,:search_token,:search_errors].each do |doc| db_key = c.docname(doc) res.merge!(doc => db_key) end res.to_json end
Version data entries
22 entries across 22 versions & 1 rubygems