    # File lib/fog/bluebox/requests/compute/create_block.rb, line 21
            def create_block(product_id, template_id, location_id, options = {})

              unless options.has_key?('password') || options.has_key?('ssh_public_key')
                raise ArgumentError, 'Either password or public_key must be supplied'
              end

              query = {
                'product'  => product_id,
                'template' => template_id,
                'location' => location_id
              }

              request(
                :expects  => 200,
                :method   => 'POST',
                :path     => '/api/blocks.json',
                :query    => query,
                :body     => options.map {|k,v| "#{CGI.escape(k)}=#{CGI.escape(v)}"}.join('&')
              )
            end