Change in ovirt-engine-sdk-ruby[master]: Add request and response classes
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Wed Jan 20 09:07:08 UTC 2016
Juan Hernandez has submitted this change and it was merged.
Change subject: Add request and response classes
......................................................................
Add request and response classes
This patch adds two new "Request" and "Response" classes. These classes
are intended to carry the details of HTTP requests and responses. With
them the "Connection.send" method can return a response, containing the
HTTP response code, message and body, so that other parts of the SDK
will in the future be able to inspect them and act accordingly.
Change-Id: I1801639bea2e419f956133e070b7f22dee24985d
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/ruby/ServicesGenerator.java
M sdk/lib/ovirt/sdk/v4.rb
M sdk/lib/ovirt/sdk/v4/connection.rb
M sdk/spec/connection_spec.rb
4 files changed, 148 insertions(+), 109 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit https://gerrit.ovirt.org/52409
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1801639bea2e419f956133e070b7f22dee24985d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list