    # File lib/fog/openstack/requests/image/update_image.rb, line 38
            def update_image(attributes)
              response = Excon::Response.new
              response.status = 200
              image = self.images.last
              response.body = {
                                'image'=> {
                                  'name'             => attributes[:name] || image.name,
                                  'size'             => image.size,
                                  'min_disk'         => (attributes[:min_disk] || image.min_disk).to_i,
                                  'disk_format'      => attributes[:disk_format] || image.disk_format,
                                  'created_at'       => image.created_at,
                                  'container_format' => attributes[:container_format] || image.container_format,
                                  'deleted_at'       => nil,
                                  'updated_at'       => Time.now.to_s,
                                  'checksum'         => image.checksum,
                                  'id'               => attributes[:id],
                                  'deleted'          => false,
                                  'protected'        => false,
                                  'is_public'        => attributes[:is_public] || image.is_public,
                                  'status'           => image.status,
                                  'min_ram'          => (attributes[:min_ram] || image.min_ram).to_i,
                                  'owner'            => attributes[:owner] || image.owner,
                                  'properties'       => attributes[:properties] || image.properties
                                }
                              }
              response

            end