lib/optimizely/engine.rb
def projects
      if @projects.nil?
        response = self.get("projects")
        @projects = response.collect { |project_json| Project.new(project_json) }
      end
      @projects
    end
def projects
      if @projects.nil?
        response = self.get("projects")
        @projects = response.collect { |project_json| Project.new(project_json) }
      end
      @projects
    end
Returns the list of projects available to the authenticated user.

 == Usage
  optimizely = Optimizely.new({ api_token: 'oauth2_token' })
  projects = optimizely.projects # Look up all projects.