class VCloudSdk::Xml::SupportedVersions
Public Instance Methods
login_url()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/supported_versions.rb, line 5 def login_url ns = namespace.href # Typically it's 'http://www.vmware.com/vcloud/versions' get_nodes('VersionInfo', nil, false, ns).each do |node| if node.get_nodes('Version', nil, false, ns).first.content \ == VCloudSdk::Client::VCLOUD_VERSION_NUMBER return node.get_nodes("LoginUrl", nil, false, ns).first end end nil end