3 define_request :set_server_metadata, :inherit => [:openstack, :common, :v2, :public, :base] do
5 meta :service, :compute
8 'http://docs.openstack.org/api/openstack-compute/2/content/Create_or_Replace_Metadata-d1e5358.html'
11 param :id, :required => true
12 param :metadata, :required => true
17 :metadata => params[:metadata]
33 "#{ base_url }/servers/#{ params[:id] }/metadata"