method

parser

rails latest stable - Class: ActionDispatch::Integration::Session::RequestEncoder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

parser(content_type)
public

No documentation available.

# File actionpack/lib/action_dispatch/testing/integration.rb, line 431
          def self.parser(content_type)
            mime = Mime::Type.lookup(content_type)
            encoder(mime ? mime.ref : nil).response_parser
          end