jsonapi-materializer 1.0.0.rc3 → 1.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsonapi/materializer/resource.rb +1 -2
- data/lib/jsonapi/materializer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0757d7c81ae43865fa36c9f7c871dedbcabe9c032bb152e019d70506a697270a
|
4
|
+
data.tar.gz: 3f4d99ccfa4511dd874e081aec2092647c8b4e1b529964ff693ab1eb7f5fc5d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab84f5d732b41dba80efcdfe437b6652bac1450652fae461a7ac74494a049e4c6ad454f4b94cb530dc8d94129d8b9a91933f636e735949dbf84840eb34cd8858
|
7
|
+
data.tar.gz: bdcb3fd9920da53619772d514991bc10377ddf8685739488c3e391809312768ee8035632faa4a2f42a08dd1dd0c2090358f50b284880e0ec975bec0f87791a43
|
@@ -41,7 +41,6 @@ module JSONAPI
|
|
41
41
|
|
42
42
|
attr_accessor(:object)
|
43
43
|
attr_writer(:selects)
|
44
|
-
attr_writer(:pagination)
|
45
44
|
attr_writer(:includes)
|
46
45
|
attr_writer(:context)
|
47
46
|
attr_reader(:raw)
|
@@ -220,7 +219,7 @@ module JSONAPI
|
|
220
219
|
end
|
221
220
|
|
222
221
|
def attribute(name)
|
223
|
-
configuration.attributes.fetch(name.to_sym) {raise(Error::
|
222
|
+
configuration.attributes.fetch(name.to_sym) {raise(Error::ResourceAttributeNotFound, :name => name, :materializer => self)}
|
224
223
|
end
|
225
224
|
|
226
225
|
def relation(name)
|