# File lib/rudy/aws/ec2/image.rb, line 102
102:       def register(opts)
103:         opts = Hash === opts ? opts : { :image_location => opts }
104:         ret = @@ec2.register_image(opts)
105:         return nil unless ret && ret.is_a?(Hash)
106:         ret['imageId']
107:       end