lib/optimizely/engine.rb
def project(id)
      @url = "projects/#{id}"
      raise OptimizelyError::NoProjectID, "A Project ID is required to retrieve the project." if id.nil?

      response = self.get(@url)
      Project.new(response)
    end
def project(id)
      @url = "projects/#{id}"
      raise OptimizelyError::NoProjectID, "A Project ID is required to retrieve the project." if id.nil?

      response = self.get(@url)
      Project.new(response)
    end
Returns the details for a specific project.

 == Usage
  optimizely = Optimizely.new({ api_token: 'oauth2_token' })
  project = optimizely.project(12345) # Look up the project.