Method: Fog::Vcloud::Compute::Real#xmlns

Defined in:
lib/fog/vcloud/compute.rb

#xmlnsObject


238
239
240
241
242
243
244
245
246
247
248
249
250
# File 'lib/fog/vcloud/compute.rb', line 238

def xmlns
  if version == '1.0'
    { "xmlns" => "http://www.vmware.com/vcloud/v1",
      "xmlns:ovf" => "http://schemas.dmtf.org/ovf/envelope/1",
      "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
      "xmlns:xsd" => "http://www.w3.org/2001/XMLSchema" }
  else
    { 'xmlns' => "http://www.vmware.com/vcloud/v1.5",
      "xmlns:ovf" => "http://schemas.dmtf.org/ovf/envelope/1",
      "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
      "xmlns:xsd" => "http://www.w3.org/2001/XMLSchema" }
  end
end