mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Refactor
This commit is contained in:
parent
c72a2738dd
commit
f8757891ef
10 changed files with 18 additions and 21 deletions
10
lib/ext/xml_builder.rb
Normal file
10
lib/ext/xml_builder.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require 'builder'
|
||||
|
||||
class Builder::XmlMarkup
|
||||
def epp_head
|
||||
self.instruct!
|
||||
self.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:schemaLocation' => 'urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd') do
|
||||
yield
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue