class HTTParty::Parser

def parse_supported_format

def parse_supported_format
  if respond_to?(format, true)
    send(format)
  else
    raise NotImplementedError, "#{self.class.name} has not implemented a parsing method for the #{format.inspect} format."
  end
end