class Pohoda::Parsers::Est::EstablishmentType2

Public Instance Methods

establishment_header() click to toggle source
# File lib/pohoda/parsers/est/establishment_type2.rb, line 7
def establishment_header
  submodel_at(Est::EstablishmentHeaderType, 'est:establishmentHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/est/establishment_type2.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:establishment_header] = establishment_header.to_h if has? 'est:establishmentHeader'

  hash
end