Class: LeanTesting::Bug
Instance Attribute Summary collapse
-
#attachments ⇒ Object
readonly
Returns the value of attribute attachments.
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(origin, data) ⇒ Bug
constructor
A new instance of Bug.
Constructor Details
#initialize(origin, data) ⇒ Bug
Returns a new instance of Bug.
5 6 7 8 9 10 |
# File 'lib/Entity/Bug/Bug.rb', line 5 def initialize(origin, data) super @comments = BugCommentsHandler.new(origin, data['id']) = BugAttachmentsHandler.new(origin, data['id']) end |
Instance Attribute Details
#attachments ⇒ Object (readonly)
Returns the value of attribute attachments.
3 4 5 |
# File 'lib/Entity/Bug/Bug.rb', line 3 def end |
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
3 4 5 |
# File 'lib/Entity/Bug/Bug.rb', line 3 def comments @comments end |