class Torque::Project

Stores the name and id of a single Pivotal project

Attributes

current[RW]

True if this is the current project, else false

id[R]

The project ID

name[R]

The project name

Public Class Methods

new(id, name, current=false) click to toggle source

@param id The project's ID @param name The project's name @param current True if this is the current project, else false

# File lib/torque/project/project.rb, line 23
def initialize(id, name, current=false)
  @current = current
  @id = id
  @name = name
end