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