dina 0.4.2.0 → 0.4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dina/json_api_client_patch.rb +1 -1
- data/lib/dina/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: 32052c3bba673462b3f37308893e0e75a2d6b90c8cf83bb015afdb114605079f
|
4
|
+
data.tar.gz: d907470232863681e01a113f55a968d092dc76dd059471906f39c72151ab6837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 459d73f40c8133a76ae7596d4aa8aa58665337fac57e591dfc10a76b4a0ef03398ff1331c537d98be2434182af0b35e216477e424e3ef2532ef70853cfe6ed96
|
7
|
+
data.tar.gz: 6386e868c47a886466ff7fd905c9854f1f3ff701cf99fd58243fc37966a233e2bb4758c84e8b20bf0914dfac6a34f26e0e4dd656ac0681068e3ab9627a98ee59
|
@@ -3,7 +3,7 @@ module JsonApiClient
|
|
3
3
|
module Associations
|
4
4
|
class BaseAssociation
|
5
5
|
def data(url)
|
6
|
-
url.sub!("/api/v1/", "/api/#{
|
6
|
+
url.sub!("/api/v1/", "/api/#{klass.endpoint_path}")
|
7
7
|
from_result_set(association_class.requestor.linked(url))
|
8
8
|
end
|
9
9
|
end
|
data/lib/dina/version.rb
CHANGED