class Pohoda::Parsers::Typ::MOSStype

Public Instance Methods

ids() click to toggle source
# File lib/pohoda/parsers/typ/mos_stype.rb, line 7
def ids
  at 'typ:ids'
end
ids_attributes() click to toggle source
# File lib/pohoda/parsers/typ/mos_stype.rb, line 11
def ids_attributes
  attributes_at 'typ:ids'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/mos_stype.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:ids] = ids if has? 'typ:ids'
  hash[:ids_attributes] = ids_attributes if has? 'typ:ids'

  hash
end