1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud/terremark/ecloud/requests/get_customization_options.rb
Dan Peterson 4b7157abc1 initial instantiate_vapp_template mocking and some other things along the way
fix some specs by adding a Shared module where necessary
2010-10-13 02:06:39 +08:00

24 lines
609 B
Ruby

module Fog
class Vcloud
module Terremark
class Ecloud
class Real
basic_request :get_customization_options
end
class Mock
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"
end
end
end
end
end
end