Add remove clientHold to registrar UI

This commit is contained in:
Alex Sherman 2020-02-19 14:09:45 +05:00
parent adba253d01
commit 3b332da0bb
9 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,9 @@
module RemoveHold
extend ActiveSupport::Concern
def remove_hold(params)
xml = epp_xml.update(name: { value: params[:domain_name] },
rem: [status: { attrs: { s: 'clientHold' }, value: '' }])
current_user.request(xml)
end
end