justimmo_client 0.6.2 → 0.6.3
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: 8d91fd1ec8ab9bb56ad3aa5f310447739f072c5e
|
4
|
+
data.tar.gz: 95f6f01ca3c687af8436dba6f26d389a73e830f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d35db0035a7f905558190aa9e03d06ff75ab7e83661ac26c602aa89a3ae3798d417431f4c55faf401b9dfb9f128bfb85912a2179482c8c2062f7dabbe894554
|
7
|
+
data.tar.gz: 06daf92f1fcfe2b70f983ccc071a94322260ee5407aa97f1570a7a704bd3f02683232879dc66d73c268a17fdccb9d7f17065166c99ff788398c01658b4b01d11
|
@@ -78,7 +78,7 @@ module JustimmoClient::V1
|
|
78
78
|
# @param [Symbol, String] lang
|
79
79
|
# @return [Realty, nil] A detailed realty object, or nil if it could not be found.
|
80
80
|
def detail(id, lang: nil)
|
81
|
-
with_cache cache_key("realty/detail", lang: lang),
|
81
|
+
with_cache cache_key("realty/detail", id: id, lang: lang),
|
82
82
|
on_hit: ->(cached) do
|
83
83
|
representer(:realty, :json).new(model(:realty).new).from_json(cached)
|
84
84
|
end,
|