(were my patches really that bad? ;) ) try sending mail to: [email protected]
([email protected] will give you list of all commands) marios On 25/11/11 14:30, Ladislav Martincik wrote: > Can someone help me sing off this mailing list? Could not find the way. > > Thank you, > > -- Ladislav > > > On Friday, November 25, 2011 at 1:07 PM, [email protected] wrote: > >> From: marios <[email protected] (mailto:[email protected])> >> >> >> Signed-off-by: marios <[email protected] (mailto:[email protected])> >> --- >> server/lib/cimi/server.rb | 28 ++++++++++++++++++++++++++++ >> 1 files changed, 28 insertions(+), 0 deletions(-) >> >> diff --git a/server/lib/cimi/server.rb b/server/lib/cimi/server.rb >> index 2bd3a39..fdd7f17 100644 >> --- a/server/lib/cimi/server.rb >> +++ b/server/lib/cimi/server.rb >> @@ -255,4 +255,32 @@ global_collection :volumes do >> end >> end >> >> +global_collection :volume_images do >> + description 'This entity represents an image that could be place on a >> pre-loaded volume.' >> + >> + operation :index do >> + description "List all volumes images" >> + control do >> + volume_images = VolumeImage.all(self) >> + respond_to do |format| >> + format.xml { volume_images.to_xml_cimi_collection(self) } >> + format.json { volume_images.to_json_cimi_collection(self) } >> + end >> + end >> + end >> + >> + operation :show do >> + description "Show a specific volume image" >> + param :id, :string, :required >> + control do >> + volume_image = VolumeImage.find(params[:id], self) >> + respond_to do |format| >> + format.xml { volume_image.to_xml } >> + format.json { volume_image.to_json } >> + end >> + end >> + end >> + >> +end >> + >> end >> -- >> 1.7.6.4 >> >> > > >
