mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Add remove clientHold to registrar UI
This commit is contained in:
parent
adba253d01
commit
3b332da0bb
9 changed files with 30 additions and 0 deletions
9
app/models/concerns/remove_hold.rb
Normal file
9
app/models/concerns/remove_hold.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue