Class: Mspire::Mzml::Contact

Inherits:
Object
  • Object
show all
Includes:
CV::Paramable
Defined in:
lib/mspire/mzml/contact.rb

Constant Summary collapse

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

Instance Attribute Summary

Attributes included from CV::Paramable

#cv_params, #ref_param_groups, #user_params

Instance Method Summary collapse

Methods included from CV::Paramable

#accessionable_params, #describe!, #describe_from_xml!, #describe_many!, #describe_self_from_xml!, #each_accessionable_param, #each_param, #fetch, #fetch_by_accession, #initialize, #param?, #param_by_accession, #params, #params?, #reject!, #replace!, #replace_many!

Instance Method Details

#to_xml(builder) ⇒ Object



16
17
18
19
20
# File 'lib/mspire/mzml/contact.rb', line 16

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