Sha256: b8347e8855dfdd6e6f908640bd3f586462e62d7a6e1be1dc6ec57eaf4f502327

Contents?: true

Size: 385 Bytes

Versions: 12

Compression:

Stored size: 385 Bytes

Contents

require 'mspire/paramable'

module Mspire
  class Mzml
    class Contact

      COMMON_PARAMS = {
        name: 'MS:1000586',
        organization: 'MS:1000590',
        address: 'MS:1000587',
        email: 'MS:1000589'
      }

      include Mspire::Paramable

      def to_xml(builder)
        builder.contact do |fc_n|
          super(fc_n)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mspire-0.10.8.0 lib/mspire/mzml/contact.rb
mspire-0.10.7.3 lib/mspire/mzml/contact.rb
mspire-0.10.7.2 lib/mspire/mzml/contact.rb
mspire-0.10.7.1 lib/mspire/mzml/contact.rb
mspire-0.10.7 lib/mspire/mzml/contact.rb
mspire-0.10.6 lib/mspire/mzml/contact.rb
mspire-0.10.5 lib/mspire/mzml/contact.rb
mspire-0.10.4 lib/mspire/mzml/contact.rb
mspire-0.10.3 lib/mspire/mzml/contact.rb
mspire-0.10.2 lib/mspire/mzml/contact.rb
mspire-0.10.1 lib/mspire/mzml/contact.rb
mspire-0.10.0 lib/mspire/mzml/contact.rb