Remove check builder

This commit is contained in:
Martin Lensment 2014-10-24 17:20:34 +03:00
parent 5cdab8faa7
commit 37c6bf1f8c
2 changed files with 0 additions and 57 deletions

View file

@ -73,25 +73,6 @@ module Epp
end
end
def domain_check_xml(xml_params = {})
xml_params[:names] = xml_params[:names] || ['example.ee']
xml = Builder::XmlMarkup.new
xml.instruct!(:xml, standalone: 'no')
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0') do
xml.command do
xml.check do
xml.tag!('domain:check', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
xml_params[:names].each do |x|
xml.tag!('domain:name', (x || 'example.ee'))
end if xml_params[:names].any?
end
end
xml.clTRID 'ABC-12345'
end
end
end
def domain_update_xml(xml_params = {}, dnssec_params = false)
defaults = {
name: { value: 'example.ee' }