lib/immoscout/models/actions/contact.rb in immoscout-1.5.0 vs lib/immoscout/models/actions/contact.rb in immoscout-1.6.0
- old
+ new
@@ -18,10 +18,10 @@
.fetch('common.realtorContactDetailsList', {})
.fetch('realtorContactDetails', nil)
end
def save
- response = \
+ response =
if id
api.put("user/#{api.user_name}/contact/#{id}", as_json)
else
api.post("user/#{api.user_name}/contact", as_json)
end