restpack_serializer 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15afd345ae08bba6443d8ae21c527033fee5516a
|
4
|
+
data.tar.gz: c0374353f4d558654b91b224cd2219911061b7c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54440feabd8a2f48a94953f73fba1faf2b56f2ced9eb427e7d2448909fc14b4dd5b21c404d08b556a0d702ea46ea7d51844ec9b7986967268686e6985eed0afd
|
7
|
+
data.tar.gz: d03b08e531703fa430ada42eceba1759fc162d53e38e91283862246e0935728e0276b4c81fbcff32088aeac78caa2106e3d63cc706328eabf2d1b3d74a556f68
|
@@ -2,7 +2,7 @@ module RestPack::Serializer::Attributes
|
|
2
2
|
extend ActiveSupport::Concern
|
3
3
|
|
4
4
|
def default_href
|
5
|
-
"#{RestPack::Serializer.config.href_prefix}/#{
|
5
|
+
"#{RestPack::Serializer.config.href_prefix}/#{self.class.key}/#{@model.id}.json"
|
6
6
|
end
|
7
7
|
|
8
8
|
module ClassMethods
|