method
create
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Response
create(status = 200, header = {}, body = [], default_headers: self.default_headers)public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 149
def self.create(status = 200, header = {}, body = [], default_headers: self.default_headers)
header = merge_default_headers(header, default_headers)
new status, header, body
end