class Aws::Rest::Response::Parser
def parser_class(response)
def parser_class(response) protocol = response.context.config.api.metadata['protocol'] case protocol when 'rest-xml' then Xml::Parser when 'rest-json' then Json::Parser else raise "unsupported protocol #{protocol}" end end