Change in ovirt-engine-sdk-ruby[master]: Add support for following links

Juan Hernandez has submitted this change and it was merged. Change subject: Add support for following links ...................................................................... Add support for following links This patch adds a new "follow_link" method that can be used to retrieve the complete representation of objects that have the "href" attribute. # Find the cluster: cluster = ... # Get the data center, which will probably be just a link, not # the complete information: dc = cluster.dc # If the data center is a link, then follow it, to get the # complete representation: if dc.is_link? dc = dc.follow_link end Change-Id: I02a033ea09a37995c3dcf711216d29d141436ba7 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M sdk/lib/ovirt/sdk/v4/types/list.rb M sdk/lib/ovirt/sdk/v4/types/struct.rb 2 files changed, 57 insertions(+), 0 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/51909 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I02a033ea09a37995c3dcf711216d29d141436ba7 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine-sdk-ruby Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
juan.hernandez@redhat.com