Sha256: a8013a03bc2260075a691c97b00cd06a7e4b80a322418f176cca2715ecbced26

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

# lib/lutaml/model/xml_mapping_rule.rb
require_relative "mapping_rule"

module Lutaml
  module Model
    class XmlMappingRule < MappingRule
      attr_reader :namespace, :prefix

      def initialize(name, to:, render_nil: false, with: {}, delegate: nil, namespace: nil, prefix: nil)
        super(name, to: to, render_nil: render_nil, with: with, delegate: delegate)
        @namespace = namespace
        @prefix = prefix
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lutaml-model-0.1.0 lib/lutaml/model/xml_mapping_rule.rb