justimmo_client 0.4.1 → 0.4.2
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: 743d21ea143573c824c8428092bdbeb434b0ea47
|
4
|
+
data.tar.gz: 536acaf70e43c05ffed35b911f0215a8ec019b23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95bddb14fb06461874ac4e9707ea69bef559a4afc5497d0ddaffe92cbde954d9279450be48900698c6168478480fb959f42b2d122a1c6bfe7a050454cadb5ce5
|
7
|
+
data.tar.gz: efde75d0703d31333d0f83abce57cf5c36d50f572827d57d1e37a0b4b389854c387bcdfafed3d01dcf1b4b2162a5d61cdb18b099139629c3dd021fa2c6aa7013
|
@@ -66,7 +66,7 @@ module JustimmoClient
|
|
66
66
|
# @param [Symbol, String] lang
|
67
67
|
# @return [Object, nil] A detailed realty object, or nil if it could not be found.
|
68
68
|
def detail(id, lang: nil)
|
69
|
-
xml_response = request(:realty).detail(id
|
69
|
+
xml_response = request(:realty).detail(id, lang: lang)
|
70
70
|
model = Struct.new(:realty).new
|
71
71
|
representer(:realty_detail).new(model).from_xml(xml_response).realty
|
72
72
|
rescue JustimmoClient::RetrievalFailed
|