Class: ActionDispatch::RequestEncoder::IdentityEncoder

Inherits:
Object
  • Object
show all
Defined in:
lib/action_dispatch/testing/request_encoder.rb

Instance Method Summary collapse

Instance Method Details

#accept_headerObject

[View source]

7
# File 'lib/action_dispatch/testing/request_encoder.rb', line 7

def accept_header; end

#content_typeObject

[View source]

6
# File 'lib/action_dispatch/testing/request_encoder.rb', line 6

def content_type; end

#encode_params(params) ⇒ Object

[View source]

8
# File 'lib/action_dispatch/testing/request_encoder.rb', line 8

def encode_params(params); params; end

#response_parserObject

[View source]

9
# File 'lib/action_dispatch/testing/request_encoder.rb', line 9

def response_parser; -> body { body }; end