We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98a6958 + a098867 commit ffc23d8Copy full SHA for ffc23d8
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
lib/jsonapi/resources/version.rb
@@ -1,5 +1,5 @@
1
module JSONAPI
2
module Resources
3
- VERSION = '0.2.0'
+ VERSION = '0.2.1'
4
5
0 commit comments