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



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

def accept_header; end

#content_typeObject



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

def content_type; end

#encode_params(params) ⇒ Object



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

def encode_params(params); params; end

#response_parserObject



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

def response_parser; -> body { body }; end