json_api_responders 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_api_responders/version.rb +1 -1
- data/lib/json_api_responders.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b60a50fdf2f25e998fede1a0427fb04bdb37c630
|
4
|
+
data.tar.gz: 3611346f4409eedbc1c9c521a8ce9a495cfaafda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d27abc9d632fbd7844dd555e7b50093793d12f595e3a660a33aa3101e381d9ab6fe6b8bc5805a29b6c96ad2fe5de4329a93edfe5f8a6137ed1b376f56a06afb1
|
7
|
+
data.tar.gz: a3bf66eaf91447a813551b2c11579bd659d540e2e27e06106b0c8f8e6dacc45edab48a47b16001088574f44badd9b402b6a4cf8cb12628f3d5c63057d650ab5c
|
data/lib/json_api_responders.rb
CHANGED
@@ -14,7 +14,7 @@ module JsonApiResponders
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def respond_with_error(status, detail = nil)
|
17
|
-
Responder.new(self, on_error: { status: status,
|
17
|
+
Responder.new(self, nil, on_error: { status: status, detail: detail }).respond_error
|
18
18
|
end
|
19
19
|
|
20
20
|
def deserialized_params
|