Class: ActionDispatch::RequestEncoder::IdentityEncoder

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

Instance Method Summary collapse

Instance Method Details

#accept_headerObject


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

def accept_header; end

#content_typeObject


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

def content_type; end

#encode_params(params) ⇒ Object


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

def encode_params(params); params; end

#response_parserObject


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

def response_parser; -> body { body }; end