Sha256: 603714d231ee507f5a2ba40fcceb88dd7004e936d68661dc10a0bb396ff75f87
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
module Fog module Parsers module Vcloud class GetVersions < Fog::Parsers::Base # # Based off of: # http://support.theenterprisecloud.com/kb/default.asp?id=535&Lang=1&SID= # https://community.vcloudexpress.terremark.com/en-us/product_docs/w/wiki/02-get-versions.aspx # vCloud API Guide v0.9 - Page 89 # def reset @response = [] @supported = false end def start_element(name, attributes = {}) super case name when "Version" @version = Struct::VcloudVersion.new when "SupportedVersions" @supported = true end end def end_element(name) case name when "Version" @version.version = @value @version.supported = @supported when "LoginUrl" @version.login_url = @value when "VersionInfo" @response << @version when "SupportedVersions" @supported = false end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-0.2.0 | lib/fog/vcloud/parsers/get_versions.rb |
fog-0.1.10 | lib/fog/vcloud/parsers/get_versions.rb |
fog-0.1.9 | lib/fog/vcloud/parsers/get_versions.rb |