public function createAddressBook($bookName)
    {
        if (empty($bookName)) {
            return $this->handleError('Empty book name');
        }

        $data = array('bookName' => $bookName);
        $requestResult = $this->sendRequest('addressbooks', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function createAddressBook($bookName)
    {
        if (empty($bookName)) {
            return $this->handleError('Empty book name');
        }

        $data = array('bookName' => $bookName);
        $requestResult = $this->sendRequest('addressbooks', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function createAddressBook ( $ bookName ) { if ( empty ( $ bookName ) ) { return $ this -> handleError ( 'Empty book name' ) ; } $ data = array ( 'bookName' => $ bookName ) ; $ requestResult = $ this -> sendRequest ( 'addressbooks' , 'POST' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
Create address book

@param $bookName

@return stdClass
Create address book