2010-06-18 07:58:09 +08:00
|
|
|
module Fog
|
2010-09-03 01:11:45 -07:00
|
|
|
class Vcloud
|
2010-06-18 07:58:09 +08:00
|
|
|
module Terremark
|
2010-09-14 10:40:02 -07:00
|
|
|
class Ecloud
|
2010-06-18 07:58:09 +08:00
|
|
|
|
2010-09-14 10:40:02 -07:00
|
|
|
class Real
|
2010-06-18 07:58:09 +08:00
|
|
|
basic_request :get_customization_options
|
|
|
|
end
|
|
|
|
|
2010-09-14 10:40:02 -07:00
|
|
|
class Mock
|
2010-10-11 22:25:02 +08:00
|
|
|
def get_customization_options(options_uri)
|
|
|
|
builder = Builder::XmlMarkup.new
|
|
|
|
xml = builder.CustomizationParameters(xmlns) do
|
|
|
|
builder.CustomizeNetwork "true"
|
|
|
|
builder.CustomizePassword "false"
|
|
|
|
end
|
|
|
|
|
|
|
|
mock_it 200, xml, "Content-Type" => "application/vnd.tmrk.ecloud.catalogItemCustomizationParameters+xml"
|
2010-06-18 07:58:09 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|