I'm adding Services integration to the room_reservations module. I added the hook to the module like this:


function room_reservations_services_resources(){
  $room_service = array(
          'help'=>'Gets the hours and the days reservations can be made',
          'access arguments'=>array('get reservation hours'),
          'access arguments append'=>FALSE,
  return $room_service;

Am I doing something wrong? I don't see the custom service.

Also, by reading the docs on the Services module, could this be done as an action? if so how?

Thanks in advance.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.