jsonapi_compliable 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsonapi_compliable/deserializer.rb +6 -0
- data/lib/jsonapi_compliable/version.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: 158723539c9ae9bef84801ddbefc34335cf70611
|
4
|
+
data.tar.gz: fd5fcb8c06c21f1e1ff9b921e4b294bb6bced110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3af8845757c413f34ad118a1dcf83cea6bc67b11f669df1a602aa0b9c1e507366bdf4d9b352ca96f74fc2f6a4ddbdf3c1bc0e61c079a0f58cafe45fec67a45d
|
7
|
+
data.tar.gz: 09299f64c2cb0352a267d24716b9687f400935ee56bf79548fe1ab69c4292c3675288ea4ae3eecc9b321750a765dabd2cd500bce541b65f7d55eeca00cc3f808
|
@@ -69,6 +69,12 @@ class JsonapiCompliable::Deserializer
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
# Override the attributes
|
73
|
+
# # @see #attributes
|
74
|
+
def attributes=(attrs)
|
75
|
+
@attributes = attrs
|
76
|
+
end
|
77
|
+
|
72
78
|
# 'meta' information about this resource. Includes:
|
73
79
|
#
|
74
80
|
# +type+: the jsonapi type
|