Class: LeanTesting::Project
- Defined in:
- lib/Entity/Project/Project.rb
Instance Attribute Summary collapse
-
#bugPriorityScheme ⇒ Object
readonly
Returns the value of attribute bugPriorityScheme.
-
#bugReproducibilityScheme ⇒ Object
readonly
Returns the value of attribute bugReproducibilityScheme.
-
#bugs ⇒ Object
readonly
Returns the value of attribute bugs.
-
#bugSeverityScheme ⇒ Object
readonly
Returns the value of attribute bugSeverityScheme.
-
#bugStatusScheme ⇒ Object
readonly
Returns the value of attribute bugStatusScheme.
-
#bugTypeScheme ⇒ Object
readonly
Returns the value of attribute bugTypeScheme.
-
#sections ⇒ Object
readonly
Returns the value of attribute sections.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
-
#versions ⇒ Object
readonly
Returns the value of attribute versions.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(origin, data) ⇒ Project
constructor
A new instance of Project.
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
#bugPriorityScheme ⇒ Object (readonly)
Returns the value of attribute bugPriorityScheme.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugPriorityScheme @bugPriorityScheme end |
#bugReproducibilityScheme ⇒ Object (readonly)
Returns the value of attribute bugReproducibilityScheme.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugReproducibilityScheme @bugReproducibilityScheme end |
#bugs ⇒ Object (readonly)
Returns the value of attribute bugs.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugs @bugs end |
#bugSeverityScheme ⇒ Object (readonly)
Returns the value of attribute bugSeverityScheme.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugSeverityScheme @bugSeverityScheme end |
#bugStatusScheme ⇒ Object (readonly)
Returns the value of attribute bugStatusScheme.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugStatusScheme @bugStatusScheme end |
#bugTypeScheme ⇒ Object (readonly)
Returns the value of attribute bugTypeScheme.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def bugTypeScheme @bugTypeScheme end |
#sections ⇒ Object (readonly)
Returns the value of attribute sections.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def sections @sections end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def users @users end |
#versions ⇒ Object (readonly)
Returns the value of attribute versions.
3 4 5 |
# File 'lib/Entity/Project/Project.rb', line 3 def versions @versions end |