internetee-registry/app/models/concerns/remove_hold.rb
2020-02-19 14:51:53 +05:00

9 lines
264 B
Ruby

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