class Pohoda::Parsers::Adb::GDPRItemsType

Public Instance Methods

gdpr_item() click to toggle source
# File lib/pohoda/parsers/adb/gdpr_items_type.rb, line 7
def gdpr_item
  array_of_at(Adb::GDPRItemType, ['adb:GDPRItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/adb/gdpr_items_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:gdpr_item] = gdpr_item.map(&:to_h) if has? 'adb:GDPRItem'

  hash
end