From 71225d2d0631e6f2b71ff65f95f0dccb76e89553 Mon Sep 17 00:00:00 2001 From: Wesley Beary Date: Sat, 4 Jul 2009 10:07:06 -0700 Subject: [PATCH] updating docs --- lib/fog/aws/ec2.rb | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/lib/fog/aws/ec2.rb b/lib/fog/aws/ec2.rb index c79c06f28..db3f5adcc 100644 --- a/lib/fog/aws/ec2.rb +++ b/lib/fog/aws/ec2.rb @@ -94,10 +94,11 @@ module Fog # public_ips<~Array>:: List of ips to describe, defaults to all # # ==== Returns - # body<~Hash>:: - # :items<~Array>:: Addresses - # :instance_id<~String>:: instance for ip address - # :public_ip<~String>:: ip address for instance + # body<~Hash>:: + # :request_id<~String>:: Id of request + # :address_set<~Array>:: Addresses + # :instance_id<~String>:: instance for ip address + # :public_ip<~String>:: ip address for instance def describe_addresses(public_ips = []) params = indexed_params('PublicIp', public_ips) request({ @@ -115,6 +116,16 @@ module Fog # :owner<~String>:: Only return images belonging to owner. # # ==== Returns + # body<~Hash>:: + # :request_id<~String>:: Id of request + # :image_set<~Array>:: Images + # :architecture<~String>:: Architecture of the image + # :image_id<~String>:: Id of the image + # :image_location<~String>:: Location of the image + # :image_owner_id<~String>:: Id of the owner of the image + # :image_state<~String>:: State of the image + # :image_type<~String>:: Type of the image + # :is_public<~Boolean:: Whether or not the image is public def describe_images(options = {}) params = {} if options[:image_id]