/**
  * @param $reservations
  *
  * @return mixed
  * @throws WubookException
  */
 public function markBookings($reservations)
 {
     return parent::defaultRequestHandler('mark_bookings', [$reservations]);
 }
Example #2
0
 /**
  * Gets stats about current token
  * @return mixed
  * @throws WubookException
  */
 public function providerInfo()
 {
     return parent::defaultRequestHandler('provider_info', [], true, false, false);
 }
Example #3
0
 /**
  * @return mixed
  * @throws WubookException
  */
 public function pushUpdateUrl()
 {
     return parent::defaultRequestHandler('push_update_url', []);
 }
 /**
  * @param $rooms
  *
  * @return array
  * @throws WubookException
  */
 public function updateSparseAvail($rooms)
 {
     return parent::defaultRequestHandler('update_sparse_avail', [$rooms]);
 }