# File lib/fog/slicehost/requests/dns/create_record.rb, line 27
        def create_record(record_type, zone_id, name, data, options = {})
          optional_tags= ''
          options.each { |option, value|
            case option
            when :ttl
              optional_tags+= "<ttl type='integer'>#{value}</ttl>"
            when :active
              optional_tags+= "<active>#{value}</active>"
            when :aux
              optional_tags+= "<aux>#{value}</aux>"
            end
          }

          request(
            :body     => %Q{<?xml version="1.0" encoding="UTF-8"?><record><record_type>#{record_type}</record_type><zone_id type="integer">#{zone_id}</zone_id><name>#{name}</name><data>#{data}</data>#{optional_tags}</record>},
            :expects  => 201,
            :method   => 'POST',
            :parser   => Fog::Parsers::DNS::Slicehost::CreateRecord.new,
            :path     => 'records.xml'
          )
        end