class Pohoda::Parsers::Lst::ListGDPRType

Public Instance Methods

gdpr() click to toggle source
# File lib/pohoda/parsers/lst/list_gdpr_type.rb, line 7
def gdpr
  array_of_at(Gdp::GDPRType, ['lst:GDPR'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_gdpr_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:gdpr] = gdpr.map(&:to_h) if has? 'lst:GDPR'

  hash
  super.merge(hash)
end