Class: LeanTesting::Project

Inherits:
Entity
  • Object
show all
Defined in:
lib/Entity/Project/Project.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#data

Instance Method Summary collapse

Constructor Details

#initialize(origin, data) ⇒ Project

Returns a new instance of Project.



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/Entity/Project/Project.rb', line 14

def initialize(origin, data)
  super

  @sections = ProjectSectionsHandler.new(origin, data['id'])
  @versions = ProjectVersionsHandler.new(origin, data['id'])
  @users    = ProjectUsersHandler.new(origin, data['id'])

  @bugTypeScheme            = ProjectBugTypeSchemeHandler.new(origin, data['id'])
  @bugStatusScheme          = ProjectBugStatusSchemeHandler.new(origin, data['id'])
  @bugSeverityScheme        = ProjectBugSeveritySchemeHandler.new(origin, data['id'])
  @bugReproducibilityScheme = ProjectBugReproducibilitySchemeHandler.new(origin, data['id'])
  @bugPriorityScheme         = ProjectBugPrioritySchemeHandler.new(origin, data['id'])

  @bugs = ProjectBugsHandler.new(origin, data['id'])
end

Instance Attribute Details

#bugPrioritySchemeObject (readonly)

Returns the value of attribute bugPriorityScheme.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugPriorityScheme
  @bugPriorityScheme
end

#bugReproducibilitySchemeObject (readonly)

Returns the value of attribute bugReproducibilityScheme.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugReproducibilityScheme
  @bugReproducibilityScheme
end

#bugsObject (readonly)

Returns the value of attribute bugs.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugs
  @bugs
end

#bugSeveritySchemeObject (readonly)

Returns the value of attribute bugSeverityScheme.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugSeverityScheme
  @bugSeverityScheme
end

#bugStatusSchemeObject (readonly)

Returns the value of attribute bugStatusScheme.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugStatusScheme
  @bugStatusScheme
end

#bugTypeSchemeObject (readonly)

Returns the value of attribute bugTypeScheme.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def bugTypeScheme
  @bugTypeScheme
end

#sectionsObject (readonly)

Returns the value of attribute sections.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def sections
  @sections
end

#usersObject (readonly)

Returns the value of attribute users.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def users
  @users
end

#versionsObject (readonly)

Returns the value of attribute versions.



3
4
5
# File 'lib/Entity/Project/Project.rb', line 3

def versions
  @versions
end