Sha256: 8364753a0efc675d7ae767bf573156d19e99a6bfd613028d799a3e547cc68602
Contents?: true
Size: 908 Bytes
Versions: 3
Compression:
Stored size: 908 Bytes
Contents
module Fog module Parsers module Vcloud class Login < Fog::Parsers::Vcloud::Base # # Based off of: # http://support.theenterprisecloud.com/kb/default.asp?id=536&Lang=1&SID= # https://community.vcloudexpress.terremark.com/en-us/product_docs/w/wiki/01-get-login-token.aspx # vCloud API Guide v0.9 - Page 17 # def reset @response = Struct::VcloudOrgList.new([]) end def start_element(name, attributes=[]) super case name when 'OrgList' until attributes.empty? if at = attributes.shift if at[0] == "xmlns" @response.xmlns = at[1] end end end when 'Org' @response.organizations << generate_link(attributes) 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/login.rb |
fog-0.1.10 | lib/fog/vcloud/parsers/login.rb |
fog-0.1.9 | lib/fog/vcloud/parsers/login.rb |