class Pohoda::Parsers::Gdp::GDPRType

Public Instance Methods

gdpr_header() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_type.rb, line 7
def gdpr_header
  submodel_at(Gdp::GDPRHeaderType, 'gdp:GDPRHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/gdp/gdpr_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:gdpr_header] = gdpr_header.to_h if has? 'gdp:GDPRHeader'

  hash
end