mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
14 lines
344 B
Ruby
14 lines
344 B
Ruby
module Builder
|
|
class XmlMarkup
|
|
def epp_head
|
|
instruct!
|
|
epp(
|
|
'xmlns' => ::Xsd::Schema.filename(for_prefix: 'epp-ee', for_version: '1.0'),
|
|
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
|
|
'xsi:schemaLocation' => 'lib/schemas/epp-ee-1.0.xsd'
|
|
) do
|
|
yield
|
|
end
|
|
end
|
|
end
|
|
end
|