class Pohoda::Parsers::Cen::CentreType

Public Instance Methods

centre_header() click to toggle source
# File lib/pohoda/parsers/cen/centre_type.rb, line 7
def centre_header
  submodel_at(Cen::CentreHeaderType, 'cen:centreHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/cen/centre_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:centre_header] = centre_header.to_h if has? 'cen:centreHeader'

  hash
end