class Pohoda::Parsers::LAdb::ListAddressBookType

Public Instance Methods

addressbook() click to toggle source
# File lib/pohoda/parsers/l_adb/list_address_book_type.rb, line 7
def addressbook
  array_of_at(Adb::AddressbookType, ['lAdb:addressbook'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/l_adb/list_address_book_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:addressbook] = addressbook.map(&:to_h) if has? 'lAdb:addressbook'

  hash
  super.merge(hash)
end