We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98a6958 commit 54e8f69Copy full SHA for 54e8f69
1 file changed
lib/jsonapi/error.rb
@@ -17,7 +17,7 @@ def initialize(options = {})
17
@source = options[:source]
18
@links = options[:links]
19
20
- @status = Rack::Utils::SYMBOL_TO_STATUS_CODE[options[:status]].to_s
+ @status = Rack::Utils.status_code(options[:status]).to_s
21
@meta = options[:meta]
22
end
23
0 commit comments