method
create
rails 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 157
def self.create(status = 200, headers = {}, body = [], default_headers: self.default_headers)
headers = merge_default_headers(headers, default_headers)
new status, headers, body
end