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

Version Path
rhoconnect-3.2.1 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0.beta5 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0.beta4 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0.beta3 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0.beta2 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.2.0.beta1 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.1.2 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.1.1 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.1.0 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.1.0.beta2 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.1.0.beta1 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.6 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.5 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.4 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.3 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.2 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.1 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.0 lib/rhoconnect/api/client/list_client_docs.rb
rhoconnect-3.0.0.rc1 lib/rhoconnect/api/client/list_client_docs.rb