Sha256: 7f64efa8eba1a06c2a0ce174451e662505e05bf7f802fb85eaa384fec915a85a
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true module Niso module Jats class Response < Lutaml::Model::Serializable attribute :id, :string attribute :response_type, :string attribute :specific_use, :string attribute :lang, :string attribute :processing_meta, ProcessingMeta attribute :front, Front attribute :front_stub, FrontStub attribute :body, Body attribute :back, Back attribute :floats_group, FloatsGroup xml do root "response" map_attribute "id", to: :id map_attribute "response-type", to: :response_type map_attribute "specific-use", to: :specific_use map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" map_element "processing-meta", to: :processing_meta map_element "front", to: :front map_element "front-stub", to: :front_stub map_element "body", to: :body map_element "back", to: :back map_element "floats-group", to: :floats_group end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/response.rb |