Add new Settings related to the remote census

These Settings will store all the values needed to
connect to the remote census.
This commit is contained in:
taitus
2019-04-10 13:21:08 +02:00
committed by Javi Martín
parent db7ca9b4f4
commit 3df856ff7e
3 changed files with 79 additions and 1 deletions

View File

@@ -168,7 +168,21 @@ class Setting < ApplicationRecord
"hot_score_period_in_days": 31,
"related_content_score_threshold": -0.3,
"featured_proposals_number": 3,
"dashboard.emails": nil
"dashboard.emails": nil,
"remote_census.general.endpoint": "",
"remote_census.request.method_name": "",
"remote_census.request.structure": "",
"remote_census.request.document_type": "",
"remote_census.request.document_number": "",
"remote_census.request.date_of_birth": "",
"remote_census.request.postal_code": "",
"remote_census.response.date_of_birth": "",
"remote_census.response.postal_code": "",
"remote_census.response.district": "",
"remote_census.response.gender": "",
"remote_census.response.name": "",
"remote_census.response.surname": "",
"remote_census.response.valid": ""
}
end