code: def _convert_to_namecheap(self, record):
          
  
          name = record['name']
          if name.endswith('.'):
              name = name[:-1]
  
          short_name = name[:name.find(self.domain) - 1]
          processed_record = {
              'Type': record['type'],
              'Name': short_name,
              'TTL': record['ttl'],
              'Address': record['content'],
              'HostId': record['id']
          }
  
          return processed_record
docs: converts from lexicon format record to namecheap format record,
          suitable to sending through the api to namecheap