Sha256: 8f52346edc1a82dbcdce1048b14a96d10484ae365aab0119d51f5fed208aa414

Contents?: true

Size: 540 Bytes

Versions: 7

Compression:

Stored size: 540 Bytes

Contents

require "shale"

module Stepmod
  module Utils
    module Parsers
      module Models
        class RefpathExtend < Shale::Mapper
          attribute :content, Shale::Type::String
          attribute :extended_select, Shale::Type::Value
          attribute :space, Shale::Type::Value

          xml do
            root "refpath_extend"

            map_content to: :content
            map_attribute "extended_select", to: :extended_select
            map_attribute "space", to: :space
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stepmod-utils-0.6.6 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.6.5 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.6.3 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.6.2 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.6.1 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.6.0 lib/stepmod/utils/parsers/models/refpath_extend.rb
stepmod-utils-0.5.0 lib/stepmod/utils/parsers/models/refpath_extend.rb