code: public function all($data = [])
      {
          $defaults = [
              'limit' => $this->per_page,
              'offset' => 0,
          ];
  
          $data = array_merge($defaults, $data);
  
          return parent::search($data);
      }
docs: Search for all resources
  @param array $data
  @link http://docs.ckan.org/en/latest/api/#ckan.logic.action.get.resource_search
  
  @return array