    # File lib/fog/zerigo/requests/dns/update_host.rb, line 21
            def update_host(host_id, options = {})

              optional_tags= ''
              options.each { |option, value|
                case option
                when :host_type
                  optional_tags+= "<host-type>#{value}</host-type>"
                when :data
                  optional_tags+= "<data>#{value}</data>"
                when :hostname
                  optional_tags+= "<hostname>#{value}</hostname>"
                when :notes
                  optional_tags+= "<notes>#{value}</notes>"
                when :priority
                  optional_tags+= "<priority>#{value}</priority>"
                when :ttl
                  optional_tags+= "<ttl>#{value}</ttl>"
                end
              }

              request(
                :body     => %Q{<?xml version="1.0" encoding="UTF-8"?><host>#{optional_tags}</host>},
                :expects  => 200,
                :method   => 'PUT',
                :path     => "/api/1.1/hosts/#{host_id}.xml"
              )
            end