mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
14 lines
312 B
Ruby
14 lines
312 B
Ruby
require 'builder'
|
|
|
|
class Builder::XmlMarkup
|
|
def epp_head
|
|
self.instruct!
|
|
epp(
|
|
'xmlns' => 'https://epp.tld.ee/schema/epp-ee-1.0.xsd',
|
|
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
|
|
'xsi:schemaLocation' => 'lib/schemas/epp-ee-1.0.xsd'
|
|
) do
|
|
yield
|
|
end
|
|
end
|
|
end
|