justimmo_client 0.6.7 → 0.6.8
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: '084bca84fab7787d4ac96b9031ee4c6fd23cbbdb'
|
4
|
+
data.tar.gz: d035d7659a897e76fc4babcc80279e4c274bba2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 739e21cee8d7630d638a55dd7bacddc85f37c44cb83827ff51b0c7fdebadce28ab087cfaf2028a9bb0e1a49d71af06d872918141e9b8435183cd576a987c0238
|
7
|
+
data.tar.gz: be8b3e5adcc8f8448b12f97659be56cc0740fec96eda1e3b6d046f56d88568e5821725593015296469e796ec25441dd0dabb4beb6130c92ebffa84c55331ee3e
|
data/.gitlab-ci.yml
CHANGED
@@ -19,12 +19,7 @@ module JustimmoClient::V1
|
|
19
19
|
property :website
|
20
20
|
|
21
21
|
property :email_feedback
|
22
|
-
property :email
|
23
|
-
property :last_name
|
24
22
|
property :company
|
25
|
-
property :salutation
|
26
|
-
property :phone
|
27
|
-
property :mobile
|
28
23
|
|
29
24
|
collection :attachments,
|
30
25
|
decorator: AttachmentRepresenter,
|
@@ -108,26 +108,31 @@ module JustimmoClient::V1
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
+
class ContactRepresenter < EmployeeRepresenter
|
112
|
+
property :email_feedback
|
113
|
+
property :email, as: :email_direkt
|
114
|
+
property :last_name, as: :name
|
115
|
+
property :company, as: :firma
|
116
|
+
property :salutation, as: :anrede
|
117
|
+
property :phone, as: :tel_zentrale
|
118
|
+
property :mobile, as: :tel_handy
|
119
|
+
|
120
|
+
nested :bild do
|
121
|
+
property :big, setter: ->(fragment:, represented:, **) do
|
122
|
+
represented.attachments << Attachment.new(url: fragment)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
111
127
|
class RealtyRepresenter < RealtyListRepresenter
|
112
128
|
property :geo,
|
113
129
|
decorator: GeoLocationRepresenter,
|
114
130
|
class: GeoLocation
|
115
131
|
|
116
|
-
property :contact,
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
property :company, as: :firma
|
121
|
-
property :salutation, as: :anrede
|
122
|
-
property :phone, as: :tel_zentrale
|
123
|
-
property :mobile, as: :tel_handy
|
124
|
-
|
125
|
-
nested :bild do
|
126
|
-
property :big, setter: ->(fragment:, represented:, **) do
|
127
|
-
represented.attachments << Attachment.new(url: fragment)
|
128
|
-
end
|
129
|
-
end
|
130
|
-
end
|
132
|
+
property :contact,
|
133
|
+
as: :kontaktperson,
|
134
|
+
decorator: ContactRepresenter,
|
135
|
+
class: Employee
|
131
136
|
|
132
137
|
property :price,
|
133
138
|
as: :preise,
|