
#################################################
**Cassandane::TestEntity::DataType::AddressBook**
#################################################


****
NAME
****


Cassandane::TestEntity::DataType::AddressBook - the AddressBook entity datatype

default
=======



.. code-block:: perl

     my $abook = $user->addressbooks->default;


This acts like \ ``->get``\ , returning an address book instance, but finds and
returns the address book that has a true \ ``isDefault``\ .



****************
INSTANCE METHODS
****************


create_card
===========



.. code-block:: perl

     my $card = $abook->create_card({ ... });


This method creates a ContactCard instance that's in \ ``$abook``\  and no other
address books.


create_card_group
=================



.. code-block:: perl

     my $card = $abook->create_card_group({ ... });


This method is identical to \ ``create_card``\ , but will always set the \ ``kind``\ 
property to "group".


