From 4949d958a142114e36c75ca62f367cb0d4dd561e Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Mon, 30 Mar 2015 10:30:57 +0300 Subject: [PATCH 1/2] Added cc to doc --- doc/epp/contact.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/epp/contact.md b/doc/epp/contact.md index 7d3a8251e..6dcc6d4d3 100644 --- a/doc/epp/contact.md +++ b/doc/epp/contact.md @@ -28,10 +28,12 @@ Contact Mapping protocol short version: 1 1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" 1 Contact identificator - Attribute: type="bic/priv/birthday" - "bic" # Business registry code - "priv" # National idendtification number - "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "type" + "bic" # Business registry code + "priv" # National idendtification number + "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "cc" + "EE" # Country code in ISO_3166-1 aplha 2 0-1 Base64 encoded document Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id @@ -62,10 +64,12 @@ Contact Mapping protocol short version: 0-1 0-1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" 0-1 Contact identificator - Attribute: type="bic/priv/birthday" - "bic" # Business registry code - "priv" # National idendtification number - "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "type" + "bic" # Business registry code + "priv" # National idendtification number + "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "cc" + "EE" # Country code in ISO_3166-1 aplha 2 0-1 Base64 encoded document. Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id From 67b2bd83b80c226c46397e432c54739506e11920 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Mon, 30 Mar 2015 10:37:42 +0300 Subject: [PATCH 2/2] Updated private person message --- config/locales/en.yml | 2 +- spec/epp/domain_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 4e4c9a306..366e59c66 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -68,7 +68,7 @@ en: domain_contacts: invalid: 'Contacts are invalid' not_found: 'Contact was not found' - admin_contact_can_be_only_private_person: 'Admin contact can be only private person' + admin_contact_can_be_only_private_person: 'Admin contact can be private person only' admin_contacts: out_of_range: 'Admin contacts count must be between %{min}-%{max}' less_than_or_equal_to: 'Admin contacts count must be less than or equal to %{count}' diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb index f1d966021..1deb1b4a0 100644 --- a/spec/epp/domain_spec.rb +++ b/spec/epp/domain_spec.rb @@ -691,7 +691,7 @@ describe 'EPP Domain', epp: true do }) response = epp_plain_request(xml, :xml) - response[:msg].should == 'Admin contact can be only private person' + response[:msg].should == 'Admin contact can be private person only' response[:result_code].should == '2306' end end