code: function getBoards(paginate, callback) {
          var boardsResponse;
  
          // Check for cache existence
          getCache('boards_' + username, true, function (cacheData) {
              if (cacheData === null) {
                  // Create get request and put it in the cache
                  get('http://pinterestapi.co.uk/' + username + '/boards', true, function (response) {
                      putCache('boards_' + username, JSON.stringify(response));
  
                      if (paginate) {
                          boardsResponse = buildResponse(response.body ? response.body : []);
                      } else {
                          boardsResponse = response.body ? response.body : [];
                      }
                      callback(boardsResponse);
                      return;
                  });
              } else {
                  if (paginate) {
                      boardsResponse = buildResponse(cacheData.body ? cacheData.body : []);
                  } else {
                      boardsResponse = cacheData.body ? cacheData.body : [];
                  }
                  callback(boardsResponse);
                  return;
              }
          });
      }
docs: /*
  Get all the boards for the user
  
  @param boolean paginate
  @param Function callback
  @invoke callback(Mixed boards)