Sha256: 58e679face4020ecb0d8e472b690e5b09d56c082839e225b317966896013fad4

Contents?: true

Size: 402 Bytes

Versions: 8

Compression:

Stored size: 402 Bytes

Contents

require "shale"

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

          xml do
            root "aimelt"

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

Version data entries

8 entries across 8 versions & 1 rubygems

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