Class: TotenDev::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/tdev_metrics/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, title = nil) ⇒ Project

Returns a new instance of Project.



10
11
12
13
# File 'lib/tdev_metrics/project.rb', line 10

def initialize( id = nil, title = nil )
  @id = id
  @title = title
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/tdev_metrics/project.rb', line 8

def id
  @id
end

#titleObject

Returns the value of attribute title.



8
9
10
# File 'lib/tdev_metrics/project.rb', line 8

def title
  @title
end