require 'p4_web_api_client' def client_as_jdoe conn = P4WebApiClient::Connection.new( url: 'http://localhost:4567/', user: 'jdoe', password: 'johndoe1A!', prefix: '/p4_web_api/v1' ) client = P4WebApiClient::Client.open(conn) yield client ensure client.close if client end def client_as_super conn = P4WebApiClient::Connection.new( url: 'http://localhost:4567/', user: 'super', password: 'superuser1A!', prefix: '/p4_web_api/v1' ) client = P4WebApiClient::Client.open(conn) yield client ensure client.close if client end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 13474 | tjuricek | Corrected regressions that broke the API and Project services specs. | ||
#2 | 13418 | tjuricek | Added p4_project_services to development config.ru, and reconfigured p4 web api client tests to use the new paths. | ||
#1 | 13412 | tjuricek |
Initial version of the web-services mainline. This is a collection of several projects, that will likely often get released together, though many of them may not always be relevant. See the README for more information. |